Remove bad assert

We do and should be able to call this multiple times during shutdown to
signal that we are advancing through shutdown.
pull/2045/head
Jason Rhinelander 2 years ago committed by Jeff Becker
parent 3d429b353a
commit 2b5f1ee029
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D

@ -86,7 +86,6 @@ namespace llarp::sys
else if (auto maybe_state = to_win32_state(st))
{
auto new_state = *maybe_state;
assert(_status.dwCurrentState != new_state);
_status.dwWin32ExitCode = NO_ERROR;
_status.dwCurrentState = new_state;
_status.dwControlsAccepted = st == ServiceState::Running ? SERVICE_ACCEPT_STOP : 0;

Loading…
Cancel
Save