mirror of
https://github.com/electron/electron.git
synced 2026-01-31 02:08:34 -05:00
It is possible that the events get emitted when calling Show(), which would then delete the class before Show() ends, results in using members of a deleted class. By delaying the events to next tick we can effectively avoid this.