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

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

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