From af79bdd59f8863b68622f6a90afa22cadddc52e4 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Tue, 17 Feb 2026 20:30:26 +0000 Subject: [PATCH] Fix Safari crashes: share WASM singleton and fix resource leaks - Share single Ghostty WASM instance across all terminals instead of loading a new one per tab (major memory savings on Safari) - Track all window/document event listeners and remove them on dispose() - Store and disconnect ResizeObserver on dispose() - Clear resize debounce timer on dispose() - Remove injected mobile keybar