release .net objects
6 views (last 30 days)
Show older comments
If I create a .NET object instance, then that instance is never garbage collected, even if I call "clear all"
4 Comments
Guillaume
on 8 Jan 2020
The delete calls should have released all the references that matlab holds to your objects. The garbage collection itself is handled by .Net itself. Could it be that your LayoutLoader keeps hold of references to the objects?
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!