示例#1
0
        public void Stop()
        {
            UnsubscribeToAREvenets();

            if (updateThread != null)
            {
                updateThread.Abort();
                updateThread = null;
            }

            defferedInit = false;

            screenStreamer.OnDisconnect();

            connectionProviderAR.Disconnect();
            connectionProviderDefferredCalls.Disconnect();

            arConnected = false;
            streamingDataReceiver.Reset();
            streamingDataReceiver.frames.Clear();

            defferedCallsReceived.Reset();

            dataSender.Reset();
            pointsDataSender.Reset();
            separateThreadDataSender.Reset();

            pendingTexAssign = false;
        }
示例#2
0
 public void Stop()
 {
     defferedInit = false;
     screenStreamer.OnDisconnect();
 }