You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing some optimisation in our latest project using Flump, we found that the Layer instance in the Movie are not cleared when we destroy it. Result: We end up with a gain of 15k of KeyFrameMold instance in the profiler.
I added manually a destroy function that clean all the layers in the Vector of Movie and all the KeyFrameMold in the Vector of Layer and everything went down to zero.
The text was updated successfully, but these errors were encountered:
Hi GeneralTao - sorry for not replying earlier and thanks for filing the issue.
When you say that the Layers are not "cleared out", are you saying that there's a memory leak, or that explicitly nulling out the layers causes them to be garbage collected more quickly?
Either way, feel free to file a pull request with your changes and I'll take a look!
While doing some optimisation in our latest project using Flump, we found that the Layer instance in the Movie are not cleared when we destroy it. Result: We end up with a gain of 15k of KeyFrameMold instance in the profiler.
I added manually a destroy function that clean all the layers in the Vector of Movie and all the KeyFrameMold in the Vector of Layer and everything went down to zero.
The text was updated successfully, but these errors were encountered: