Skip to content

Commit

Permalink
Fixed check of released devices (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
MilleBo authored Jan 19, 2022
1 parent ab70ec1 commit 7de4e37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Testura.Android/Device/AndroidDeviceFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions src/Testura.Android/Testura.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>true</IsPackable>
<PackageVersion>4.1.0</PackageVersion>
<Version>4.1.0</Version>
<PackageVersion>4.1.1</PackageVersion>
<Version>4.1.1</Version>
<Authors>Mille Bostrom</Authors>
<Copyright>Copyright 2021</Copyright>
<Title>Testura.Android</Title>
Expand All @@ -16,9 +16,9 @@
<PackageIconUrl>https://i.ibb.co/nnSPd11/logo128-new.png</PackageIconUrl>
<PackageIcon>logo.png</PackageIcon>
<RepositoryUrl>https://github.com/Testura/Testura.Android</RepositoryUrl>
<PackageReleaseNotes>Release 4.1.0
<PackageReleaseNotes>Release 4.1.1

- Added releaseDeviceAfter to AndroidDeviceFactory</PackageReleaseNotes>
- Fixed check of released devices in AndroidDeviceFactory </PackageReleaseNotes>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>

Expand Down

0 comments on commit 7de4e37

Please sign in to comment.