Fix global emitter crash issue. Remove observer when emitter deinit.