diff --git a/backend/api/Services/RobotService.cs b/backend/api/Services/RobotService.cs index 2ea00d10e..f2112d4fb 100644 --- a/backend/api/Services/RobotService.cs +++ b/backend/api/Services/RobotService.cs @@ -1,5 +1,4 @@ using System.Diagnostics.CodeAnalysis; -using System.Globalization; using Api.Controllers.Models; using Api.Database.Context; using Api.Database.Models; @@ -53,6 +52,7 @@ public RobotService(FlotillaDbContext context, ILogger logger, IRo public void Dispose() { _robotSemaphore.Dispose(); + GC.SuppressFinalize(this); } public async Task Create(Robot newRobot)