ziggybcn / junglegui

Automatically exported from code.google.com/p/junglegui
3 stars 1 forks source link

.Dispose Issue #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Calling .Dispose caused null pointer exception. 

Adding 'Parent = Null' to Control.Update may solve this...

Method Dispose()

Parent = null '<--------------------- in order to remove from list
_parentControl = null'<------------- this should maybe done in .Parent in the 
else branch?
_GuiVector2D.SetNotifyControl(null, 0)
_drawingSize.SetNotifyControl(null, 0)
_gui = Null

End

Original issue reported on code.google.com by sascha.schmidt217 on 30 Jul 2012 at 6:12

GoogleCodeExporter commented 9 years ago
fixed in Revision: 266c1a051835

Original comment by sascha.schmidt217 on 1 Aug 2012 at 11:37