tty: do not add shutdown method to handle#1073
Conversation
UV_TTY does not support `uv_shutdown()` so adding this method in StreamBase will cause an `abort()` in C land. Fix: nodejs#1068
|
@bnoordhuis please review |
|
LGTM |
|
Nah, I'm still getting a error on windows. @zxqfox was it working on windows on initial io.js release? |
|
Hm... this test appears to be passing for me on windows machine. cc @rvagg |
|
Erm, better @piscisaureus |
|
@indutny I can't check this for now but as I remember — yes. |
There was a problem hiding this comment.
You're probably doing this so you don't have to update too much code but shouldn't it be opt-in with kFlagHasShutdown?
There was a problem hiding this comment.
TTY seems to be in minority here, as other do support it. I guess I'd rather do it this way if this is not something serious for you?
There was a problem hiding this comment.
Not serious, no, just a little incongruent.
|
Guess this is some mingw thing, landing. Thank you! |
|
@indutny I've just installed 1.3.0 and |
|
Ok, I can reproduce this thing without this patch, and can't do it with this patch. Not sure why CI is not happy :( |
|
@bnoordhuis LGTY? |
|
LGTM |
|
Thanks, landed in 3446ff4! |
|
Thanks! Will wait for build ;-) I have a couple of bugs on windows... But need fresh build. |
|
The test included in here is the sole remaining persistently failing windows test in #1005 (see also: #1068 (comment)) |
|
@Fishrock123 Did you mean that you getting this error with 1.5? Or just in testing env on CI? |
|
My windows partition isn't setup for dev stuff; that's on the CI. (and io.js latest: 1.5.1) |
|
@Fishrock123 Thanks. Just probably something is stuck on the CI side. Not sure atm ;-( |
UV_TTY does not support
uv_shutdown()so adding this method inStreamBase will cause an
abort()in C land.Fix: #1068