Created
February 27, 2014 00:27
-
-
Save saghul/9241791 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/spawn_sync.cc b/src/spawn_sync.cc | |
index de0d180..bf20ee3 100644 | |
--- a/src/spawn_sync.cc | |
+++ b/src/spawn_sync.cc | |
@@ -1025,6 +1025,7 @@ void SyncProcessRunner::ExitCallback(uv_process_t* handle, | |
int64_t exit_status, | |
int term_signal) { | |
SyncProcessRunner* self = reinterpret_cast<SyncProcessRunner*>(handle->data); | |
+ uv_close((uv_handle_t*)handle, NULL); | |
self->OnExit(exit_status, term_signal); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment