@scrypted/client
Advanced tools
Comparing version 1.0.40 to 1.0.41
@@ -348,3 +348,6 @@ "use strict"; | ||
}; | ||
socket.on('close', () => ret.onClose?.()); | ||
socket.on('close', () => { | ||
rpcPeer.kill('socket closed'); | ||
ret.onClose?.(); | ||
}); | ||
return ret; | ||
@@ -351,0 +354,0 @@ } |
{ | ||
"name": "@scrypted/client", | ||
"version": "1.0.40", | ||
"version": "1.0.41", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js", |
@@ -405,3 +405,6 @@ import { ScryptedStatic } from "@scrypted/types"; | ||
socket.on('close', () => ret.onClose?.()); | ||
socket.on('close', () => { | ||
rpcPeer.kill('socket closed'); | ||
ret.onClose?.(); | ||
}); | ||
@@ -408,0 +411,0 @@ return ret; |
Sorry, the diff of this file is not supported yet
312985
3276