Skip to content

Commit

Permalink
Fix inconsistent use of Now and UtcNow causes daemon check to not run…
Browse files Browse the repository at this point in the history
… periodically
  • Loading branch information
Lauriethefish committed Aug 19, 2024
1 parent 379076e commit e367cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuestPatcher.Core/AndroidDebugBridge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private async Task<List<AdbDevice>> GetDevicesInPreferredOrder()

private async Task<bool> FindExistingAdbServer()
{
_lastDaemonCheck = DateTime.Now;
_lastDaemonCheck = DateTime.UtcNow;

Log.Debug("Checking for existing daemon");
foreach (string adbPath in FindRunningAdbPath())
Expand Down

0 comments on commit e367cf6

Please sign in to comment.