Skip to content

Commit

Permalink
fix: @W-11955893 ensure fastForeignTargetPointers exists before use (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton authored Oct 25, 2022
1 parent f989485 commit 64f981a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/near-membrane-base/src/membrane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,8 @@ export function createMembraneMarshall(
let foreignPointerUint32ArrayProto: Pointer;
let selectedTarget: undefined | ProxyTarget;

let useFastForeignTargetPath = true;
let useFastForeignTargetPathForTypedArrays = true;
let useFastForeignTargetPath = IS_IN_SHADOW_REALM;
let useFastForeignTargetPathForTypedArrays = IS_IN_SHADOW_REALM;
let nearMembraneSymbolFlag = false;
let lastProxyTrapCalled: ProxyHandlerTraps = 0;

Expand Down

0 comments on commit 64f981a

Please sign in to comment.