fix(client): handle peer-initiated session closure gracefully
This commit is contained in:
1 parent
d4976fb811
commit
e33ae1d0fc
3 files changed
+39
-3
No files matched your search
@@ -359,6 +359,9 @@ impl Client {
|
||||
break;
|
||||
}
|
||||
all_events.extend(events);
|
||||
if self.is_peer_closed() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
Ok(all_events)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user