private void OnDestroy()
    {
        friendPool.Dispose();
        thumbnailHandler.Dispose();

        friendsHandler.onFriendAdded   -= OnFriendAdded;
        friendsHandler.onFriendRemoved -= OnFriendRemoved;
    }
예제 #2
0
    private void OnDestroy()
    {
        friendPool.Dispose();
        thumbnailHandler.Dispose();

        crowdHandler.onInfoUpdate      -= OnCrowdInfoUpdated;
        mapInfoHandler.onInfoUpdate    -= OnMapInfoUpdated;
        friendsHandler.onFriendAdded   -= OnFriendAdded;
        friendsHandler.onFriendRemoved -= OnFriendRemoved;
    }
예제 #3
0
    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();
 }