Files
sdk/runtime/bin
Zachary Anderson 8c9c54d833 [dart:io] Don't close stdin with a socket finalizer
If an Isolate touches the 'stdio' getter, a _NativeSocket with
attached finalizer is created for it. Previously, when such an
Isolate exited, the finalizer would close the underlying
file descriptor. This CL changes the finalizer for stdin such
that the native objects will be cleaned up, but the underlying
file descriptor will not be closed. The underlying file
descriptor will now only be closed if the stdin stream
subscription is explicitly canceled.

Accessing the stdin getter after the stream is explicitly
canceled will result in a FileSystemException.

See also: https://github.com/dart-lang/test/issues/583

fixes #29229

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2791423002 .
2017-04-04 13:57:42 -07:00
..
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2017-03-15 13:11:05 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2017-03-15 13:11:05 -07:00
2017-03-20 08:47:39 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2017-04-03 17:25:47 -07:00
2016-11-04 12:30:56 -07:00
2017-03-15 13:11:05 -07:00
2017-03-15 13:11:05 -07:00
2017-03-15 13:11:05 -07:00
2016-10-26 00:26:03 -07:00
2017-03-28 08:42:30 -07:00
2017-04-03 17:25:47 -07:00
2016-11-04 12:30:56 -07:00
2016-11-04 12:30:56 -07:00
2017-04-03 17:25:47 -07:00
2017-04-03 17:25:47 -07:00
2017-04-03 17:25:47 -07:00
2017-04-03 17:25:47 -07:00
2017-04-03 17:25:47 -07:00
2017-03-15 13:11:05 -07:00
2017-03-15 13:11:05 -07:00
2017-03-15 13:11:05 -07:00
2016-11-04 12:30:56 -07:00
2017-03-22 18:05:54 -07:00
2016-11-04 12:30:56 -07:00