mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
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:
parent
8f7f70cb5c
commit
8e669a3ed5
1 changed files with 1 additions and 1 deletions
|
@ -39,8 +39,8 @@ impl ApplicationMethods for Application {
|
||||||
|
|
||||||
impl Drop for Application {
|
impl Drop for Application {
|
||||||
fn drop(&self) {
|
fn drop(&self) {
|
||||||
glfw::terminate();
|
|
||||||
drop_local_window();
|
drop_local_window();
|
||||||
|
glfw::terminate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue