Browse Source

Avoid assertion failure closing tty stdin on windows

v0.7.4-release
Bert Belder 13 years ago
parent
commit
4062a42aae
  1. 4
      src/node_stdio_win32.cc

4
src/node_stdio_win32.cc

@ -579,7 +579,9 @@ static void tty_poll(uv_async_t* handle, int status) {
}
// Rearm the watcher
tty_watcher_arm();
if (tty_watcher_active) {
tty_watcher_arm();
}
// Emit fatal errors and unhandled error events
if (try_catch.HasCaught()) {

Loading…
Cancel
Save