Gvr.Internal.EmulatorClientSocket.OnDestroy C# (CSharp) 메소드

OnDestroy() 개인적인 메소드

private OnDestroy ( ) : void
리턴 void
        void OnDestroy()
        {
            Debug.Log("Shutting down ClientSocket.");
              shouldStop = true;

              if (phoneMirroringSocket != null) {
            phoneMirroringSocket.Close ();
            phoneMirroringSocket = null;
              }

              if (phoneEventThread != null) {
            phoneEventThread.Join();
              }
        }