Skip to content

Commit 4b66e3d

Browse files
authored
Remove memory leak (#266)
2 parents b53db4f + 43e32c6 commit 4b66e3d

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)