public void OnDestroy() { // De-register the Debug.Log callback Application.logMessageReceived -= stringChannel.SendDebugStatementToPython; if (Academy.IsInitialized) { SideChannelsManager.UnregisterSideChannel(stringChannel); } }
internal void Dispose() { SideChannelsManager.UnregisterSideChannel(m_Channel); }