Skip to content

Commit f5cd4f0

Browse files
committed
Remove memory leak
1 parent d9fb5de commit f5cd4f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/chart/session.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ module.exports = (client) => class ChartSession {
545545
if (this.#replayMode) this.#client.send('replay_delete_session', [this.#replaySessionID]);
546546
this.#client.send('chart_delete_session', [this.#chartSessionID]);
547547
delete this.#client.sessions[this.#chartSessionID];
548+
delete this.#client.sessions[this.#replaySessionID];
548549
this.#replayMode = false;
549550
}
550551
};

0 commit comments

Comments
 (0)