private void OnDestroy() { friendPool.Dispose(); thumbnailHandler.Dispose(); friendsHandler.onFriendAdded -= OnFriendAdded; friendsHandler.onFriendRemoved -= OnFriendRemoved; }
private void OnDestroy() { friendPool.Dispose(); thumbnailHandler.Dispose(); crowdHandler.onInfoUpdate -= OnCrowdInfoUpdated; mapInfoHandler.onInfoUpdate -= OnMapInfoUpdated; friendsHandler.onFriendAdded -= OnFriendAdded; friendsHandler.onFriendRemoved -= OnFriendRemoved; }
private void OnDestroy() { friendPool.Dispose(); thumbnailHandler.Dispose(); friendsHandler.onFriendAdded -= OnFriendAdded; friendsHandler.onFriendRemoved -= OnFriendRemoved; RealmsInfoBridge.OnRealmConnectionFailed -= OnRealmConnectionFailed; RealmsInfoBridge.OnRealmConnectionSuccess -= OnRealmConnectionSuccess; }
void OnDestroy() { HotScenesController.i.OnHotSceneListFinishUpdating -= OnFetchHotScenes; hotScenesViewPool?.Dispose(); }