tag:robotlegs.tenderapp.com,2009-10-18:/discussions/solutions/1-removing-unneeded-actors-and-stuffRobotlegs: Discussion 2013-04-28T10:32:20Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/6453062009-11-28T23:54:19Z2009-11-28T23:54:19ZRemoving unneeded Actors and stuff<div><p>Hello!<br>
Today while exercising Robotlegs I spent some time going through
best practices docs searching for some tips on releasing unneeded
Actors and mapped Events however i did not succeed.<br>
My fault that I did not throw my eager eyes into Robotlegs ASDocs
first ;]<br>
Anyways, if anybody is looking for the same thing, there it is:</p>
<pre>
<code>//unmap an Event
commandMap.unmapEvent(eventType:String, commandClass:Class, eventClass:Class = null):void
//unmap an Actor
injector.unmap(Class:Class, named:String="");</code>
</pre></div>hushtag:robotlegs.tenderapp.com,2009-10-18:Comment/6453062009-12-07T14:44:35Z2009-12-07T14:44:35ZRemoving unneeded Actors and stuff<div><p>Thanks for adding this to the knowledgebase!</p></div>Shaun Smith