Candidate for fix.

This commit is contained in:
Matthias Koefferlein
2020-07-05 14:09:23 +02:00
parent 6365ddfe82
commit beec19951d
3 changed files with 16 additions and 2 deletions
+6
View File
@@ -1402,6 +1402,12 @@ class Basic_TestClass < TestBase
a._manage
end
# Looks like Ruby is keeping the last A instance in some kind of cache:
# this will release it
a = RBA::A.new
a._destroy
a = nil
# makes sure the objects inside the block before are deleted
GC.start