mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
auto merge of #1093 : larsbergstrom/servo/shutdown_window_destruction, r=metajack
We were removing the Window from TLS and thus destroying it after terminating the windowing system, which caused an error due to calling a glfw function when it was not inititalized.
This commit is contained in:
commit
f274106029
1 changed files with 1 additions and 1 deletions
|
@ -39,8 +39,8 @@ impl ApplicationMethods for Application {
|
|||
|
||||
impl Drop for Application {
|
||||
fn drop(&self) {
|
||||
glfw::terminate();
|
||||
drop_local_window();
|
||||
glfw::terminate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue