Skip to content

Commit e29d60d

Browse files
committed
Use cached lib to call destroy function
1 parent d4b7813 commit e29d60d

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public Object execute(VirtualFrame frame) {
611611
private InteropLibrary ensureCallNode() {
612612
if (destroyFunLib == null) {
613613
CompilerDirectives.transferToInterpreterAndInvalidate();
614-
destroyFunLib = insert(InteropLibrary.getUncached());
614+
destroyFunLib = insert(InteropLibrary.getFactory().createDispatched(3));
615615
}
616616
return destroyFunLib;
617617
}

0 commit comments

Comments
 (0)