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; }
public void Stop() { defferedInit = false; screenStreamer.OnDisconnect(); }