diff --git a/src/platform_impl/apple/appkit/app_state.rs b/src/platform_impl/apple/appkit/app_state.rs index 836cb7a3af..27ba035c53 100644 --- a/src/platform_impl/apple/appkit/app_state.rs +++ b/src/platform_impl/apple/appkit/app_state.rs @@ -109,8 +109,6 @@ impl AppState { trace_scope!("NSApplicationDidFinishLaunchingNotification"); self.is_launched.set(true); - - let app = NSApplication::sharedApplication(self.mtm); // We need to delay setting the activation policy and activating the app // until `applicationDidFinishLaunching` has been called. Otherwise the