mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
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 sincee841065351
, when the helper thread was introduced. It was added ina7ef1cd35e
, where it blocked the script thread rather than this helper thread.
This commit is contained in:
parent
7cea4eb01c
commit
041c907d1b
2 changed files with 5 additions and 8 deletions
|
@ -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, _) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue