Fix unexpectedExit event listeners length
Merge pull request #2 from JacksonTian/fix_listener_length

Fix unexpectedExit event listeners length