From 9dbde704061f1744158019b2acb199cae86e11ee Mon Sep 17 00:00:00 2001 From: Christian Risi <75698846+CnF-Gris@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:43:19 +0000 Subject: [PATCH] V0.7.2.a Arroyo Toad Fixed a bug about getting IDs --- Sources/IoT-Simulator-Core/Factories/DeviceFactories.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/IoT-Simulator-Core/Factories/DeviceFactories.swift b/Sources/IoT-Simulator-Core/Factories/DeviceFactories.swift index e91800a..3ad4549 100644 --- a/Sources/IoT-Simulator-Core/Factories/DeviceFactories.swift +++ b/Sources/IoT-Simulator-Core/Factories/DeviceFactories.swift @@ -92,7 +92,7 @@ public actor DeviceFactory { throw CoreError.FinishedIDs } - return DeviceFactory.availableIDs.removeFirst() + return DeviceFactory.availableIDs.first! } }