mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: add support for Electron trace events (#17920)
This commit is contained in:
committed by
Shelley Vohr
parent
cc1e8ecef6
commit
4a3771ff7f
@@ -205,6 +205,7 @@ base::FilePath::StringType NodeBindings::GetHelperResourcesPath() {
|
||||
}
|
||||
|
||||
void NodeBindings::Initialize() {
|
||||
TRACE_EVENT0("electron", "NodeBindings::Initialize");
|
||||
// Open node's error reporting system for browser process.
|
||||
node::g_standalone_mode = browser_env_ == BROWSER;
|
||||
node::g_upstream_node_mode = false;
|
||||
|
||||
Reference in New Issue
Block a user