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)