Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Issue 2650063003: Cancel pending i/o when closing stdin on Windows (Closed)

Created:
3 years, 11 months ago by Florian Schneider
Modified:
3 years, 11 months ago
Reviewers:
zra, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cancel pending i/o when closing stdin on Windows When cancelling a subscription to stdin, there may be pending I/O operation that need to be explicitly cancelled before closing the stdin handle. Otherwise the program would sit waiting for input (until CR is pressed). Fixes dart-lang/pub#1502 Fixes #22940 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/2e1eeaf446cfe4bc2aa9b7dd4bf45d85f3c26072

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M runtime/bin/eventhandler_win.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Florian Schneider
I tried adding a regression test, but the way stdin is wired up when running ...
3 years, 11 months ago (2017-01-24 22:21:39 UTC) #2
zra
LGTM!
3 years, 11 months ago (2017-01-24 22:25:05 UTC) #3
Florian Schneider
Committed patchset #1 (id:1) manually as 2e1eeaf446cfe4bc2aa9b7dd4bf45d85f3c26072 (presubmit successful).
3 years, 11 months ago (2017-01-24 22:47:46 UTC) #5
siva
3 years, 11 months ago (2017-01-24 23:04:24 UTC) #7
Message was sent while issue was closed.
Nice.

Powered by Google App Engine
This is Rietveld 408576698