mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-13 19:33:44 +00:00
Rework workspace/client/tcpclient disconnection
This commit is contained in:
@@ -180,15 +180,16 @@ namespace QSharp
|
||||
|
||||
public void disconnect()
|
||||
{
|
||||
//TODO
|
||||
Log.Information($"[workspace] disconnect: {name}");
|
||||
stopHeartbeat();
|
||||
if (heartbeatTimer != null)
|
||||
stopHeartbeat();
|
||||
stopReceivingUpdates();
|
||||
disconnectFromWorkspace();
|
||||
|
||||
connected = false;
|
||||
|
||||
client.disconnect();
|
||||
|
||||
//TODO
|
||||
//root.removeAllChildCues();
|
||||
|
||||
}
|
||||
@@ -531,11 +532,6 @@ namespace QSharp
|
||||
|
||||
#endregion
|
||||
|
||||
public void Close()
|
||||
{
|
||||
client.Close();
|
||||
}
|
||||
|
||||
#region Printing
|
||||
public void Print()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user