Open gurmeherchawla opened 7 years ago
that's probably correct. It's something I haven't looked into much, but you might need to assign nil
to force deallocation. Else the global memory dictionary will hold on to every object.
I have tried assigning nil to both, the variables being evaluated, and the global memory (the NSMutableDictionary instance variable) in TOMem. That, however, does not solve the issue.
i see. objects are indeed not deallocated. i'll need to take a closer look to see why arc isn't cleaning things up.
Any luck with the same?
The trouble seems to be at performOnTarget:selectorString:arguments:index: in TOEval. The object being instantiated by Tosti, is having being arbitrarily retained.
The Interpretation does not seem to be managing the memory of objects. The instances created do not appear to be deallocating.