From 018d03d860a1f4c70c12b165b92ebff8183355fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Wed, 9 Sep 2020 12:11:56 +0200 Subject: [PATCH] fix panic for macos --- voxygen/src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/voxygen/src/main.rs b/voxygen/src/main.rs index 397b13170a..1651f123ec 100644 --- a/voxygen/src/main.rs +++ b/voxygen/src/main.rs @@ -116,9 +116,6 @@ fn main() { .unwrap() }; - #[cfg(target_os = "macos")] - dispatch::Queue::main().sync(mbox); - // On windows we need to spawn a thread as the msg doesn't work otherwise #[cfg(target_os = "windows")] std::thread::spawn(move || { @@ -126,7 +123,7 @@ fn main() { }) .join(); - #[cfg(all(not(target_os = "macos"), not(target_os = "windows")))] + #[cfg(not(target_os = "windows"))] mbox(); }