ProxyGadget memory leak
Archives Forums/MaxGUI Bug Reports/ProxyGadget memory leak
| ||
Demonstration of leak:Framework maxgui.drivers
Import maxgui.proxygadgets
GCSetMode 2
Local window:TGadget=CreateWindow("",0,0,400,300)
Repeat
GCCollect
FreeGadget CreateHyperlink("",0,0,400,300,window)
Print GCMemAlloced()
ForeverThe fix is by adding this line in TGadget:Cleanup(), in gadget.bmx: source=Null |