mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix iteration bug when disposing pending events at shutdown
discovered by logging
This commit is contained in:
parent
a8df30016b
commit
c6c96a611a
@ -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 New Issue
Block a user