Chromium Code Reviews
DescriptionPropagate errors correctly in Socket.connect
socket.port can throw an exception. The error from the
exception, if there is one, has to go to the completer,
not be thrown up the stack, otherwise it may go to the
enclosing Zone rather than e.g. a try ... catch around
await Socket.connetc().
This is a possible fix for the issue below, but it is
tough to say because I don't have a reliable repro.
related #27440
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/16db33b7a27458fa605ab533101ade4b05ba8e47
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|
|||||||||||||||||||