release .net objects
5 次查看(过去 30 天)
显示 更早的评论
If I create a .NET object instance, then that instance is never garbage collected, even if I call "clear all"
4 个评论
Guillaume
2020-1-8
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?
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!