diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index a1a8d645..9f059d16 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -170,7 +170,7 @@ async_parse_logs_after(uv_work_t *req); extern "C" void init(Handle); -static bool shutdownComplete = false; +static volatile bool shutdownComplete = false; /** * async_node_data