mirror of
https://github.com/Yonle/bostr.git
synced 2025-09-27 21:36:21 +02:00
b2: fix crash when client disconnected
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
@@ -88,7 +88,7 @@ function terminate_sess(id) {
|
||||
}
|
||||
|
||||
for (sub of pendingEOSE) {
|
||||
if (!sub.startsWith(id)) continue;
|
||||
if (!sub[0].startsWith(id)) continue;
|
||||
pendingEOSE.delete(id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user