From 90a6f8092eb0b95bf0f531b21c15e60af3ca9654 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 29 Oct 2026 15:53:47 +1100 Subject: [PATCH] fix(desktop): bump tao to 0.37.2 to stop AppKit exceptions aborting Buzz On macOS 27, AppKit's Writing Tools text-selection affordance can raise an NSInternalInconsistencyException (NSCampoLightweightUIController.m:1429) inside [super sendEvent:]. tao 0.37.1 overrides -[NSApplication sendEvent:] with an `extern "C"` function, so the foreign exception could not unwind through it: Rust called panic_cannot_unwind and aborted the app. A native app would have let -[NSApplication run] log the exception and continue. tao 0.37.2 (tauri-apps/tao#1354) declares its ObjC method implementations and CFRunLoop callbacks `extern "C-unwind"`, so AppKit's own handler reports the exception and the app keeps running. The fix depends on Buzz not setting `panic = "abort"`, which it does not. The release also fixes a macOS abort on drags without file paths (#1267), a debug-build panic in drag_window with no current event (#1372), and memory growth when creating and closing windows on macOS (#1368). Lockfile-only: tauri-runtime-wry already accepts tao 0.37.x, and only tao's version and checksum change. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Matt Toohey --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cddd7380e1..5dc9358f32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5761,9 +5761,9 @@ dependencies = [ [[package]] name = "tao" -version = "0.37.1" +version = "0.37.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f37f381f4e048e6cdf038b5705f8cf14ad108279d46eb968140a7b291aba9400" +checksum = "d5777b06fe6435126ae8d816eba269e050e1e10d302cf5461e9c49eccabc3548" dependencies = [ "bitflags 2.13.1", "block2 0.6.2",