Initialize things in the same sequence with main process
This commit is contained in:
parent
ed9579a2f7
commit
2d410ede48
5 changed files with 11 additions and 13 deletions
|
@ -20,7 +20,6 @@ JavascriptEnvironment::JavascriptEnvironment()
|
|||
}
|
||||
|
||||
bool JavascriptEnvironment::Initialize() {
|
||||
gin::V8Initializer::LoadV8Snapshot();
|
||||
gin::IsolateHolder::Initialize(gin::IsolateHolder::kNonStrictMode,
|
||||
gin::ArrayBufferAllocator::SharedInstance());
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue