More RDP to desktop tab improvements.

This commit is contained in:
Ylian Saint-Hilaire
2022-05-03 16:24:43 -07:00
parent 1240733d6c
commit 706ca17151
6 changed files with 6 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ var CreateRDPDesktop = function (canvasid) {
}
obj.Stop = function () {
obj.Canvas.fillRect(0, 0, obj.ScreenWidth, obj.ScreenHeight);
if (obj.socket) { obj.socket.close(); }
}