diff options
Diffstat (limited to 'src/tty_wrap.cc')
-rw-r--r-- | src/tty_wrap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index b1a354ac33..4b5b8587c0 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -174,7 +174,10 @@ void TTYWrap::New(const FunctionCallbackInfo<Value>& args) { TTYWrap::TTYWrap(Environment* env, Handle<Object> object, int fd, bool readable) - : StreamWrap(env, object, reinterpret_cast<uv_stream_t*>(&handle_)) { + : StreamWrap(env, + object, + reinterpret_cast<uv_stream_t*>(&handle_), + AsyncWrap::PROVIDER_TTYWRAP) { uv_tty_init(env->event_loop(), &handle_, fd, readable); } |