Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalkiewicz committed Aug 13, 2024
1 parent 8593462 commit 60ea52f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Golem/Golem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ Func<int, string, Task> ExitCleanupHandler(CancellationTokenSource yagnaCancella
}

Status = GolemStatus.Error;

await DetachSuspendHandler();
}
};
}
Expand Down Expand Up @@ -528,7 +530,7 @@ private void DetachSuspendHandler_Impl()
[SupportedOSPlatform("Windows")]
private void OnPowerModeChanged(object sender, PowerModeChangedEventArgs e)
{
// Start and Stop tasks will be won't be waited upon in this event handler.
// Start and Stop tasks won't be waited upon in this event handler.
switch (e.Mode) {
case PowerModes.Suspend:
_logger.LogInformation("Received Suspend event - stopping Golem.");
Expand Down

0 comments on commit 60ea52f

Please sign in to comment.