mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
* refactor: migrate electron::api::GlobalShortcut to cppgc * refactor: lazy-create electron::api::GlobalShortcut copy the lazy-create idom used by electron::api::Screen * refactor: use gin::WeakCellFactory in GlobalCallbacks * fix: make a copy of `callback` before running it safeguard against the callback changing the map, invalidating `cb` * chore: reduce unnecessary diffs with main * fixup! refactor: use gin::WeakCellFactory in GlobalCallbacks fix: must Trace() the weak cell factory * fix: destruction order - Setup isolate dispose observer to run destruction sequences and remove self persistent reference - Skip NOTREACHED check during destruction, it can happen as a result of plaform listeners scheduling callbacks when Unregister is invoked. - Fix the order of unregistration in GlobalShortcut::Unregister - Add GlobalShortcut::UnregisterAllInternal to avoid any callsites that can re-enter V8 * fix: crash during gc from incorrect cppgc object headers * chore: update patches * chore: cleanup * chore: fix lint --------- Co-authored-by: deepak1556 <hop2deep@gmail.com>