Skip to content

Conversation

@grouma
Copy link
Member

@grouma grouma commented Oct 27, 2017

We declared an incorrect constraint for package stack_trace. This was fixed in #714

Also fixing potential test hangs by manually closing IO streams.

Preparing for a new release.

@grouma grouma requested a review from kevmoo October 27, 2017 23:15
@grouma grouma changed the title Prep for release - 0.12.26+1 Fix test hang and prep for release - 0.12.26+1 Nov 1, 2017
final _onExitCompleter = new Completer();

/// IO streams for the underlying browser process.
final _ioStreams = <StreamSubscription>[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I'd call this _ioSubscriptions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Future get onExit => _onExitCompleter.future;
final _onExitCompleter = new Completer();

/// IO streams for the underlying browser process.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: "IO" -> "Standard IO"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

_closed = true;

// If we don't manually close the stream the test runner can hang.
// For example this happens with Chrome Headless.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you file a dart:io bug for this? If so, refer to it here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@grouma grouma merged commit 5652c6d into dart-lang:master Nov 1, 2017
@grouma grouma deleted the release-prep branch November 1, 2017 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants