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

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

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