@lvce-editor/ipc 13.6.0 → 13.7.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 +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1248,7 +1248,8 @@ class IpcParentWithMessagePort extends Ipc {
|
|
|
1248
1248
|
this._rawIpc.postMessage(message);
|
|
1249
1249
|
}
|
|
1250
1250
|
sendAndTransfer(message) {
|
|
1251
|
-
|
|
1251
|
+
const transfer = getTransferrables(message);
|
|
1252
|
+
this._rawIpc.postMessage(message, transfer);
|
|
1252
1253
|
}
|
|
1253
1254
|
dispose() {
|
|
1254
1255
|
this._rawIpc.close();
|