Skip to content
Snippets Groups Projects
Commit c1feea69 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Only consider a multichannel closed when the underlying channel closes.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1083543004
parent ba1a3b69
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ class _MultiChannel extends StreamChannelMixin implements MultiChannel {
/// outgoing messages have [outputId].
void _closeChannel(int inputId, int outputId) {
if (_closed) return;
_closed = true;
_closed = inputId == 0;
// A message without data indicates that the virtual channel has been
// closed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment