fix: libuv hang on Windows (#28175)

This commit is contained in:
Shelley Vohr
2021-03-22 20:11:03 +00:00
committed by GitHub
parent d10398610b
commit 665ac6f9c8
7 changed files with 86 additions and 6 deletions

View File

@@ -159,9 +159,7 @@ class NodeBindings {
// Isolate data used in creating the environment
node::IsolateData* isolate_data_ = nullptr;
#if defined(OS_WIN)
HANDLE handle_;
#else
#if !defined(OS_WIN)
int handle_ = -1;
#endif