fixes
This commit is contained in:
@@ -84,7 +84,7 @@ zn_status_t channel_read(struct channel* ch, struct channel_msg** msg_out) {
|
||||
return ZN_OK;
|
||||
}
|
||||
|
||||
// No message and peer is gone — nothing will ever arrive.
|
||||
// No message and peer is gone.
|
||||
if (!ch->peer) {
|
||||
spin_unlock(&ch->lock);
|
||||
return ZN_ERR_BAD_HANDLE;
|
||||
|
||||
Reference in New Issue
Block a user