Skip to content

Commit

Permalink
win: fix msvc warning
Browse files Browse the repository at this point in the history
PR-URL: libuv#2091
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jameson Nash <[email protected]>
  • Loading branch information
sidyhe authored and cjihrig committed Jan 15, 2019
1 parent 37da57b commit f84c5e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/win/tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) {
}
} else {
was_reading = 0;
alloc_cb = NULL;
read_cb = NULL;
}

uv_sem_wait(&uv_tty_output_lock);
Expand Down

0 comments on commit f84c5e6

Please sign in to comment.