diff --git a/crates/gpui/src/platform/mac/window.rs b/crates/gpui/src/platform/mac/window.rs index 5f9ee43dec48f..6d887f2b1384f 100644 --- a/crates/gpui/src/platform/mac/window.rs +++ b/crates/gpui/src/platform/mac/window.rs @@ -768,6 +768,7 @@ impl Drop for MacWindow { unsafe { this.native_window.setDelegate_(nil); } + this.input_handler.take(); this.executor .spawn(async move { unsafe {