Revize 8017b1ae
Přidáno uživatelem Miloslav Kovář před téměř 4 roky(ů)
deltarobot-vr/Assets/DeltaRobotVr/Client.cs | ||
---|---|---|
79 | 79 |
private long _curveCounter = 0; |
80 | 80 |
|
81 | 81 |
private volatile bool _isConnected; |
82 |
private volatile string _eotMsg; |
|
82 |
private volatile string _eotMsg = string.Empty;
|
|
83 | 83 |
|
84 | 84 |
private readonly object _reconnectTimeLock = new object(); |
85 | 85 |
private DateTime _reconnectTime = DateTime.Now; |
... | ... | |
276 | 276 |
{ |
277 | 277 |
Debug.LogError($"Exception in communication thread:\n{e}"); |
278 | 278 |
} |
279 |
} |
|
280 |
finally |
|
281 |
{ |
|
282 |
IsConnected = false; |
|
279 | 283 |
} |
280 | 284 |
|
281 | 285 |
// wait before reconnection - short polls to prevent blocking if application is closed |
Také k dispozici: Unified diff
Re #8901 - Connection status panel