protected override void OnDestroy() { base.OnDestroy(); if (!mDoNotDisconnect) { SendBirdSDK.Disconnect(); } }
protected override void OnDestroy() { base.OnDestroy(); GC.Collect(); SendBirdSDK.Disconnect(); }
protected override void OnPause() { base.OnPause(); SendBirdSDK.Disconnect(); }
void Disconnect() { Debug.Log("Disconnected from SendBird"); SendBirdSDK.Disconnect(); }