mirror of https://github.com/electron/electron
d63de1ae15
In browser process, because of the use of v8::Locker in ProxyResolverV8, creating HandleScope requires entering locker first, so in browser process we should just use v8::Locker whenever we need to use V8 in a callback called from non-V8 places (like dialog's callback, work pushed to MessageLoop). But also notice that the renderer process doesn't use v8::Locker, so we have to be careful not to use it, otherwise blink would crash when creating HandleScope. |
||
---|---|---|
.. | ||
lib | ||
atom_api_app.cc | ||
atom_api_app.h | ||
atom_api_auto_updater.cc | ||
atom_api_auto_updater.h | ||
atom_api_browser_ipc.cc | ||
atom_api_browser_ipc.h | ||
atom_api_dialog.cc | ||
atom_api_dialog.h | ||
atom_api_event.cc | ||
atom_api_event.h | ||
atom_api_menu.cc | ||
atom_api_menu.h | ||
atom_api_menu_mac.h | ||
atom_api_menu_mac.mm | ||
atom_api_menu_win.cc | ||
atom_api_menu_win.h | ||
atom_api_power_monitor.cc | ||
atom_api_power_monitor.h | ||
atom_api_protocol.cc | ||
atom_api_protocol.h | ||
atom_api_window.cc | ||
atom_api_window.h | ||
atom_browser_bindings.cc | ||
atom_browser_bindings.h |