From 469d0eafd1704d5e9a172adfc673708fc76923e9 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 9 Jan 2015 23:06:14 +0100 Subject: Update for rust alpha 1.0 --- src/win32/init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32/init.rs') 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() } -- cgit v1.2.3