private void ClientEvent(IRTCClientEvent clientEvent) { RTC_CLIENT_EVENT_TYPE olayTuru = clientEvent.EventType; if (olayTuru == RTC_CLIENT_EVENT_TYPE.RTCCET_ASYNC_CLEANUP_DONE) // Form kapatýldýðýnda veya PrepareForShutdown metodu tetikler... { profil = null; if (istemci != null) { // Artýk olaylarý dinleme... -= istemci.IRTCEventNotification_Event_Event -= new IRTCEventNotification_EventEventHandler(istemci_IRTCEventNotification_Event_Event); istemci.Shutdown(); istemci = null; } this.anaPencere.KapatAnaPencere(); } }