From 767354476b6fac7a4f9e9f5552adf2cfc1a9eb19 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 23 Jul 2013 16:55:09 +0800 Subject: [PATCH] Should force the embed thread to quit when terminating. --- common/node_bindings.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/common/node_bindings.cc b/common/node_bindings.cc index 0a413417..2605d263 100644 --- a/common/node_bindings.cc +++ b/common/node_bindings.cc @@ -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_); } -- 2.43.0