make sure the log notifications don't keep the threadloop alive

This commit is contained in:
Konstantin Käfer
2015-02-12 18:45:44 -08:00
parent 81c45ab39a
commit 464ecaf7c7
2 changed files with 4 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ NodeLogBackend::NodeLogBackend(v8::Handle<v8::Object> target)
})) {
NanScope();
module = v8::Persistent<v8::Object>::New(target);
// Don't keep the event loop alive.
queue->unref();
}
NodeLogBackend::~NodeLogBackend() {

2
vendor/mbgl vendored