unregister components while exiting

This commit is contained in:
csmoe 2018-12-15 21:55:58 +08:00
parent c9229f3f99
commit 5600a1dca1
5 changed files with 44 additions and 0 deletions

View file

@ -2379,6 +2379,8 @@ impl ScriptThread {
self.handle_exit_pipeline_msg(pipeline_id, DiscardBrowsingContext::Yes);
}
self.background_hang_monitor.unregister();
debug!("Exited script thread.");
}