diff --git a/src/Testura.Android/Device/AndroidDeviceFactory.cs b/src/Testura.Android/Device/AndroidDeviceFactory.cs index a4c538b..b966384 100644 --- a/src/Testura.Android/Device/AndroidDeviceFactory.cs +++ b/src/Testura.Android/Device/AndroidDeviceFactory.cs @@ -155,7 +155,7 @@ private void ReleaseTimedOutDevices() lock (BusyDevices) { var devices = BusyDevices - .Where(b => b.initialized.Add(_releaseDeviceAfter.Value) > DateTime.Now) + .Where(b => DateTime.Now > b.initialized.Add(_releaseDeviceAfter.Value)) .ToList(); foreach (var device in devices) diff --git a/src/Testura.Android/Testura.Android.csproj b/src/Testura.Android/Testura.Android.csproj index 051639c..6976785 100644 --- a/src/Testura.Android/Testura.Android.csproj +++ b/src/Testura.Android/Testura.Android.csproj @@ -5,8 +5,8 @@ enable enable true - 4.1.0 - 4.1.0 + 4.1.1 + 4.1.1 Mille Bostrom Copyright 2021 Testura.Android @@ -16,9 +16,9 @@ https://i.ibb.co/nnSPd11/logo128-new.png logo.png https://github.com/Testura/Testura.Android - Release 4.1.0 + Release 4.1.1 - - Added releaseDeviceAfter to AndroidDeviceFactory + - Fixed check of released devices in AndroidDeviceFactory true