@lvce-editor/file-system-worker 1.15.0 → 1.16.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.
|
@@ -1308,10 +1308,13 @@ const getFolderSize = async uri => {
|
|
|
1308
1308
|
};
|
|
1309
1309
|
|
|
1310
1310
|
const handleMessagePort = async (port, rpcId) => {
|
|
1311
|
-
await PlainMessagePortRpc.create({
|
|
1311
|
+
const rpc = await PlainMessagePortRpc.create({
|
|
1312
1312
|
commandMap: {},
|
|
1313
1313
|
messagePort: port
|
|
1314
1314
|
});
|
|
1315
|
+
if (rpcId) {
|
|
1316
|
+
set$g(rpcId, rpc);
|
|
1317
|
+
}
|
|
1315
1318
|
};
|
|
1316
1319
|
|
|
1317
1320
|
const getPortTuple = () => {
|