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
There appears to be a memory leak when referencing SKCanvas.
Once you create an SKCanvas, I could not find any way to release memory used by it.
The following lines create a memory leak of 150 megs, attached is the allocations screenshot.
Typically a canvas is owned by the object that provided it, for example a surface, picture recorder or document. But in one special situation, it can be constructed from a bitmap.
Activity
mattleibow commentedon Nov 10, 2016
I think that this is a result of not dereferencing the underlying native canvas object.
mattleibow commentedon Nov 10, 2016
I fixed this in 7d7e974
Typically a canvas is owned by the object that provided it, for example a surface, picture recorder or document. But in one special situation, it can be constructed from a bitmap.