summary history branches tags files
commit:5fec43f0ec208a3ccedb2ffeca1bc12cc22c0eac
author:Trevor Bentley
committer:Trevor Bentley
date:Fri Jul 21 16:36:53 2017 +0200
parents:64c377a3b40c2df6d175a50f3492d7c744fe9726
Cleanup touchbar->rubrail transition
diff --git a/src/osx/mod.rs b/src/osx/mod.rs
line changes: +3/-7
index aa934db..41c607e
--- a/src/osx/mod.rs
+++ b/src/osx/mod.rs
@@ -25,14 +25,9 @@ use self::cocoa::appkit::{NSApp,
 
 use self::rustnsobject::{NSObj, NSObjTrait, NSObjCallbackTrait};
 
-use std::sync::mpsc::{Sender, Receiver};
-use std::sync::mpsc::channel;
-
+use std::sync::mpsc::Sender;
 use std::ptr;
-use std::rc::Rc;
 use std::cell::Cell;
-use std::cell::RefCell;
-use std::borrow::BorrowMut;
 use std::ffi::CStr;
 use std::thread::sleep;
 use std::time::Duration;
@@ -123,9 +118,10 @@ impl TStatusBar for OSXStatusBar {
                     cb(sender, &s.tx);
                 }
             ));
+            let _: () = msg_send![app, finishLaunching];
         }
         bar
-    }    
+    }
     fn can_redraw(&mut self) -> bool {
         true
     }