Heads up - there’s a huge memory leak in the current Xojo version when using RGBSurface:
https://tracker.xojo.com/xojoinc/xojo/-/issues/75794
This method will leak the RGBSurface’s data without leaving any objects behind in the stack:
Public Sub LeakMemory(p as picture)
dim r as RGBSurface
r=p.RGBSurface
return
End Sub
15 posts - 4 participants