forked from mystiq/hydrogen-web
fix iteration bug when disposing pending events at shutdown
discovered by logging
This commit is contained in:
parent
a8df30016b
commit
c6c96a611a
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ export class SendQueue {
|
|||
}
|
||||
|
||||
dispose() {
|
||||
for (const pe in this._pendingEvents.array) {
|
||||
for (const pe of this._pendingEvents) {
|
||||
pe.dispose();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue