@lvce-editor/about-view 5.1.0 → 5.2.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/aboutWorkerMain.js +5 -1
- package/package.json +1 -1
package/dist/aboutWorkerMain.js
CHANGED
@@ -756,6 +756,9 @@ const createRpc = ipc => {
|
|
756
756
|
},
|
757
757
|
invokeAndTransfer(method, ...params) {
|
758
758
|
return invokeAndTransfer(ipc, method, ...params);
|
759
|
+
},
|
760
|
+
async dispose() {
|
761
|
+
await ipc?.dispose();
|
759
762
|
}
|
760
763
|
};
|
761
764
|
return rpc;
|
@@ -1740,7 +1743,8 @@ const wrapCommand = fn => {
|
|
1740
1743
|
if (newState === newerState) {
|
1741
1744
|
return;
|
1742
1745
|
}
|
1743
|
-
|
1746
|
+
const latest = get$1(uid);
|
1747
|
+
set$1(uid, latest.oldState, newerState);
|
1744
1748
|
};
|
1745
1749
|
return wrapped;
|
1746
1750
|
};
|