diff --git a/Nibriboard/NibriboardApp.cs b/Nibriboard/NibriboardApp.cs index fe89c8d..8bdc876 100644 --- a/Nibriboard/NibriboardApp.cs +++ b/Nibriboard/NibriboardApp.cs @@ -59,7 +59,10 @@ namespace Nibriboard { NibriClient client = new NibriClient(this, eventArgs.ConnectingClient); - client.Disconnected += (NibriClient disconnectedClient) => NibriClients.Remove(disconnectedClient); + client.Disconnected += (NibriClient disconnectedClient) => { + NibriClients.Remove(disconnectedClient); + Log.WriteLine("[NibriClient/#{1}] Client disconnected and removed from active clients list."); + }; NibriClients.Add(client); return Task.CompletedTask; @@ -67,6 +70,8 @@ namespace Nibriboard public override Task HandleClientDisconnected(object sender, ClientDisconnectedEventArgs eventArgs) { + // We can't use this to remove the NibriClient from the list since we don't know which + // NibriClient objects wrap which WebsocketClient instances return Task.CompletedTask; } diff --git a/Nibriboard/RippleSpace/Plane.cs b/Nibriboard/RippleSpace/Plane.cs index 9e744ff..7a8be19 100644 --- a/Nibriboard/RippleSpace/Plane.cs +++ b/Nibriboard/RippleSpace/Plane.cs @@ -205,7 +205,7 @@ namespace Nibriboard.RippleSpace public async Task AddLine(DrawnLine newLine) { if(newLine.Points.Count == 0) { - Log.WriteLine("[Plane/{0}] Lines that don't contain any points can't be added to a chunk!"); + Log.WriteLine("[Plane/{0}] Lines that don't contain any points can't be added to a chunk!", Name); return; } List chunkedLineParts; diff --git a/Nibriboard/lib/GlidingSquirrel b/Nibriboard/lib/GlidingSquirrel index 8ce9834..607dbb9 160000 --- a/Nibriboard/lib/GlidingSquirrel +++ b/Nibriboard/lib/GlidingSquirrel @@ -1 +1 @@ -Subproject commit 8ce983489be64fd298d3e847711ca4a38bb7d429 +Subproject commit 607dbb9bb3ebd3f8e29015fe1a84bf1a2cd511ed