Skip to content
Browse files

Fixed CommandMap.as isCommandPooled() function.

  • Loading branch information...
1 parent 6af19a6 commit 5ad5a513b22567a41fbc4383ec3f99a24fb178ce @MindScriptAct committed Nov 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mvcexpress/core/CommandMap.as
View
2 src/mvcexpress/core/CommandMap.as
@@ -212,7 +212,7 @@ public class CommandMap {
* @return true if command pool is created.
*/
public function isCommandPooled(commandClass:Class):Boolean {
- return (commandPools[commandClass] != null);
+ return (commandPools[commandClass] != null && commandPools[commandClass].length);
}
/**

0 comments on commit 5ad5a51

Please sign in to comment.
Something went wrong with that request. Please try again.