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