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:
Lars Bergstrom 2013-10-18 20:23:33 -05:00
parent 8f7f70cb5c
commit 8e669a3ed5

View file

@ -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();
} }
} }