"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shell/browser/javascript_environment.cc" between
electron-11.4.1.tar.gz and electron-11.4.2.tar.gz

About: Electron is a framework for creating native cross platform applications with web technologies like JavaScript, HTML, and CSS.

javascript_environment.cc  (electron-11.4.1):javascript_environment.cc  (electron-11.4.2)
skipping to change at line 284 skipping to change at line 284
} }
void JavascriptEnvironment::OnMessageLoopDestroying() { void JavascriptEnvironment::OnMessageLoopDestroying() {
DCHECK(microtasks_runner_); DCHECK(microtasks_runner_);
{ {
v8::Locker locker(isolate_); v8::Locker locker(isolate_);
v8::HandleScope scope(isolate_); v8::HandleScope scope(isolate_);
gin_helper::CleanedUpAtExit::DoCleanup(); gin_helper::CleanedUpAtExit::DoCleanup();
} }
base::CurrentThread::Get()->RemoveTaskObserver(microtasks_runner_.get()); base::CurrentThread::Get()->RemoveTaskObserver(microtasks_runner_.get());
platform_->DrainTasks(isolate_);
platform_->UnregisterIsolate(isolate_);
} }
NodeEnvironment::NodeEnvironment(node::Environment* env) : env_(env) {} NodeEnvironment::NodeEnvironment(node::Environment* env) : env_(env) {}
NodeEnvironment::~NodeEnvironment() { NodeEnvironment::~NodeEnvironment() {
node::FreeEnvironment(env_); node::FreeEnvironment(env_);
} }
} // namespace electron } // namespace electron
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)