You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/CApiContext.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -815,6 +815,15 @@ public void finalizeCapi() {
815
815
for (ObjectpyMethodDefPointer : methodDefinitions.values()) {
816
816
PyMethodDefHelper.free(pyMethodDefPointer);
817
817
}
818
+
/*
819
+
* If the static symbol cache is not null, then it is guaranteed that this context instance
820
+
* was the exclusive user of it. We can now reset the state such that other contexts created
821
+
* after this can use it.
822
+
*/
823
+
if (CApiContext.nativeSymbolCacheSingleContext != null) {
0 commit comments