mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-31 09:29:39 +00:00
Better cleanup in vnc_playback.html
Makes sure the cleanup is also properly exercised as part of the testing.
This commit is contained in:
@@ -183,6 +183,8 @@ RecordingPlayer.prototype = {
|
||||
this._rfb._display.flush();
|
||||
} else {
|
||||
this._running = false;
|
||||
this._rfb._sock._eventHandlers.close({code: 1000, reason: ""});
|
||||
delete this._rfb;
|
||||
this.onfinish((new Date()).getTime() - this._start_time);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user