AtomBindings should not use default uv loop

This commit is contained in:
Cheng Zhao 2017-03-10 17:07:51 +09:00
parent 9c9c8ec5f1
commit c068285ff8
7 changed files with 14 additions and 10 deletions

View file

@ -61,7 +61,7 @@ AtomBrowserMainParts::AtomBrowserMainParts()
exit_code_(nullptr),
browser_(new Browser),
node_bindings_(NodeBindings::Create(NodeBindings::BROWSER)),
atom_bindings_(new AtomBindings),
atom_bindings_(new AtomBindings(uv_default_loop())),
gc_timer_(true, true) {
DCHECK(!self_) << "Cannot have two AtomBrowserMainParts";
self_ = this;