projects
/
mirror_novnc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92c331
)
Better cleanup in vnc_playback.html
author
Pierre Ossman
<ossman@cendio.se>
Fri, 26 Jan 2018 10:07:58 +0000
(11:07 +0100)
committer
Pierre Ossman
<ossman@cendio.se>
Fri, 26 Jan 2018 10:07:58 +0000
(11:07 +0100)
Makes sure the cleanup is also properly exercised as part of the
testing.
tests/playback.js
patch
|
blob
|
blame
|
history
diff --git
a/tests/playback.js
b/tests/playback.js
index 961cac3c162fb3a8660038e96b31684e8f91b4e5..ddce444918f6411210f135d93480ae9bc2011054 100644
(file)
--- a/
tests/playback.js
+++ b/
tests/playback.js
@@
-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);
}
},