diff --git a/lib/mailbox.dart b/lib/mailbox.dart index e967325..32b06a9 100644 --- a/lib/mailbox.dart +++ b/lib/mailbox.dart @@ -134,9 +134,9 @@ class Mailbox { final remainingTime = _remainingTime(timeout, start); _condVar.wait(_mutex, timeout: remainingTime); } - if (_mailbox.ref.state == _stateClosed) { - throw StateError('Mailbox is closed'); - } + // if (_mailbox.ref.state == _stateClosed) { + // throw StateError('Mailbox is closed'); + // } final result = _toList(_mailbox.ref.buffer, _mailbox.ref.bufferLength);