mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Should force the embed thread to quit when terminating.
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user