Should force the embed thread to quit when terminating.
This commit is contained in:
parent
7d61dcdde1
commit
767354476b
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ NodeBindings::NodeBindings(bool is_browser)
|
|||
NodeBindings::~NodeBindings() {
|
||||
// Clear uv.
|
||||
embed_closed_ = true;
|
||||
WakeupEmbedThread();
|
||||
uv_thread_join(&embed_thread_);
|
||||
uv_sem_destroy(&embed_sem_);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue