aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/init.rs')
-rw-r--r--src/win32/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs
index 77965ea..b88cfb2 100644
--- a/src/win32/init.rs
+++ b/src/win32/init.rs
@@ -419,7 +419,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin
unsafe { winapi::TranslateMessage(&msg) };
unsafe { winapi::DispatchMessageW(&msg) }; // calls `callback` (see below)
}
- }).detach();
+ });
rx.recv().unwrap()
}