mirror of
https://github.com/Yonle/bostr.git
synced 2025-11-20 02:46:24 +01: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) {
|
for (sub of pendingEOSE) {
|
||||||
if (!sub.startsWith(id)) continue;
|
if (!sub[0].startsWith(id)) continue;
|
||||||
pendingEOSE.delete(id);
|
pendingEOSE.delete(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user