Skip to content

Commit a7d8429

Browse files
committed
TryRead may return false, assert not relevant
1 parent 915223d commit a7d8429

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/NetMQ/Core/Mailbox.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ public bool TryRecv(int timeout, out Command command)
233233
m_active = true;
234234

235235
// Get a command.
236-
var ok = m_commandPipe.TryRead(out command);
237-
Debug.Assert(ok);
238-
return ok;
236+
return m_commandPipe.TryRead(out command);
239237
}
240238

241239
/// <summary>

0 commit comments

Comments
 (0)