From 4c5568680b9f8ae2593331443f718a384480950a Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Fri, 20 Dec 2024 11:14:52 +0100 Subject: [PATCH] Move comment --- backend/FwLite/LocalWebApp/Hubs/FwDataMiniLcmHub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/FwLite/LocalWebApp/Hubs/FwDataMiniLcmHub.cs b/backend/FwLite/LocalWebApp/Hubs/FwDataMiniLcmHub.cs index 92a56d6c0..a9fb72c6f 100644 --- a/backend/FwLite/LocalWebApp/Hubs/FwDataMiniLcmHub.cs +++ b/backend/FwLite/LocalWebApp/Hubs/FwDataMiniLcmHub.cs @@ -23,12 +23,12 @@ public override async Task OnConnectedAsync() public override async Task OnDisconnectedAsync(Exception? exception) { - //todo if multiple clients are connected, this will close the project for all of them. var project = context.Project; if (project is null) { throw new InvalidOperationException("No project is set in the context."); } + //todo if multiple clients are connected, this will close the project for all of them. fwDataFactory.CloseProject(project); if (exception is LcmFileLockedException)