HaxeFlixel/flixel — pull request #768 by larsiusprime (2014-01-06 19:33:05+00:00)
Title: Dev

I'm adding some null checks for FlxTypedButton and FlxTypedGroup -- turns out that when you close a FlxSubState in response to a mouse click (a pretty common use case for FlxSubStates I imagine), you can get to a situation where an asset is destroy()'ed halfway through its update() function, leading to null reference errors.