Skip to content

Instantly share code, notes, and snippets.

@squeedee
Created October 4, 2010 18:55
Show Gist options
  • Save squeedee/610235 to your computer and use it in GitHub Desktop.
Save squeedee/610235 to your computer and use it in GitHub Desktop.
Flex Workaround Workaround
override public function onRegister():void {
addViewListener(Event.REMOVED_FROM_STAGE, onRemoved);
}
private function onRemoved(event:Event):void {
// On account of Robotlegs not removing mediators immediately.
mediatorMap.removeMediator(this);
}
@squeedee
Copy link
Author

squeedee commented Oct 4, 2010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment