cocos2d/cocos2d-x — pull request #6157 by dbaack (2014-04-07 05:01:06+00:00)
Title: Event dispatcher remove listener fix

Fixed a bug where an event listener removed from the event dispatcher while it is still in the _toAddedListeners vector would never have _isRegistered set to false on removal. This causes it to fail an assert if it is attempted to be added to the event dispatcher again later.