We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e9671d + 04a1fc2 commit 8fd6f05Copy full SHA for 8fd6f05
test-app/runtime/src/main/java/com/tns/Runtime.java
@@ -938,7 +938,7 @@ private boolean makeInstanceWeakAndCheckIfAlive(int javaObjectID) {
938
if (instance == null) {
939
// The Java was moved from strong to weak, and then the Java instance was collected.
940
weakInstances.remove(javaObjectID);
941
- weakJavaObjectToID.remove(javaObjectID);
+ weakJavaObjectToID.remove(ref);
942
return false;
943
} else {
944
return true;
0 commit comments