You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Cursor handle management to eliminate leaks and support per-zoom handles
- Removed the dedicated `handle` field from Cursor; all native handles are now stored in `zoomLevelToHandle`.
- Extracted OS handle creation logic from constructors into a lazy-loading mechanism triggered by `win32_getHandle`.
- Ensured the default zoom level (100) handle is always created during cursor construction.
- Updated hashCode, equals, isDisposed, and destroy to work with zoom-level handles.
- Prevents resource leaks caused by undisposed temporary cursors and supports safe, reusable handle management across zoom levels.
0 commit comments