Fixed no error when no listeners
Merge fixed emit/off no error when no listeners.