@lvce-editor/search-process 9.0.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1260,6 +1260,10 @@ const handleElectronMessagePort = async messagePort => {
|
|
|
1260
1260
|
};
|
|
1261
1261
|
|
|
1262
1262
|
const handleWebSocket = async (handle, request) => {
|
|
1263
|
+
if (!handle || !request) {
|
|
1264
|
+
// socket might have been closed during transfer
|
|
1265
|
+
return;
|
|
1266
|
+
}
|
|
1263
1267
|
object(handle);
|
|
1264
1268
|
object(request);
|
|
1265
1269
|
await NodeWebSocketRpcClient.create({
|