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

Issue 12428005: Avoid uncaught errors inside user code in stream-controller callbacks. (Closed)

Created:
7 years, 9 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 9 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Avoid uncaught errors inside user code in stream-controller callbacks. This could leave the stream in an inconsistent state. There is no good place to report the error, so I make it an AsyncError and throw it, delayed, at top-level. Committed: https://code.google.com/p/dart/source/detail?r=19472

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -4 lines) Patch
M sdk/lib/async/stream_controller.dart View 2 chunks +28 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein Nielsen
7 years, 9 months ago (2013-03-05 09:55:53 UTC) #1
floitsch
LGTM.
7 years, 9 months ago (2013-03-05 12:42:28 UTC) #2
Lasse Reichstein Nielsen
7 years, 9 months ago (2013-03-05 12:50:49 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r19472 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698