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:
bors-servo 2013-10-21 08:46:01 -07:00
commit f274106029

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