Don't block the script listener thread on window.close().

This does not appear to have any effect. I believe this has been the case
since e841065351, when the helper thread was
introduced.

It was added in a7ef1cd35e, where it blocked the
script thread rather than this helper thread.
This commit is contained in:
Ms2ger 2016-05-23 11:19:07 +02:00
parent 7cea4eb01c
commit 041c907d1b
2 changed files with 5 additions and 8 deletions

View file

@ -529,9 +529,8 @@ impl<Window: WindowMethods> IOCompositor<Window> {
return false
}
(Msg::Exit(channel), _) => {
(Msg::Exit, _) => {
self.start_shutting_down();
let _ = channel.send(());
}
(Msg::ShutdownComplete, _) => {