File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Plugins/PackageToJS/Templates Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -796,8 +796,9 @@ class SwiftRuntime {
796796 throw new Error ( "threadChannel is not set in options given to SwiftRuntime. Please set it to request transferring objects." ) ;
797797 }
798798 const broker = getMessageBroker ( this . options . threadChannel ) ;
799- const sendingObjects = decodeObjectRefs ( sending_objects , sending_objects_count , this . getDataView ( ) ) ;
800- const transferringObjects = decodeObjectRefs ( transferring_objects , transferring_objects_count , this . getDataView ( ) ) ;
799+ const dataView = this . getDataView ( ) ;
800+ const sendingObjects = decodeObjectRefs ( sending_objects , sending_objects_count , dataView ) ;
801+ const transferringObjects = decodeObjectRefs ( transferring_objects , transferring_objects_count , dataView ) ;
801802 broker . request ( {
802803 type : "request" ,
803804 data : {
You can’t perform that action at this time.
0 commit comments