mirror of
https://github.com/jwetzell/QControlKit.git
synced 2026-08-06 07:53:53 +00:00
Add debug messages for disconnecting
This commit is contained in:
@@ -52,6 +52,7 @@ namespace QControlKit
|
||||
|
||||
public void disconnect()
|
||||
{
|
||||
Log.Debug($"[client] disconnecting from {tcpClient.Address}");
|
||||
tcpClient.Close();
|
||||
}
|
||||
|
||||
|
||||
@@ -169,6 +169,7 @@ namespace SharpOSC
|
||||
{
|
||||
if (client.Connected)
|
||||
{
|
||||
Log.Debug($"[tcpClient] closing connection to {Address}");
|
||||
client.GetStream().Close();
|
||||
client.Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user