Core/Bnet: Fixed bnetserver getting stuck on shutdown when running as windows service
Signed-off-by: luis <[email protected]>
This commit is contained in:
@@ -379,7 +379,7 @@ void ServiceStatusWatcher(std::weak_ptr<Trinity::Asio::DeadlineTimer> serviceSta
|
||||
{
|
||||
if (m_ServiceStatus == 0)
|
||||
{
|
||||
ioContext->stop();
|
||||
Stopped = true;
|
||||
}
|
||||
else if (std::shared_ptr<Trinity::Asio::DeadlineTimer> serviceStatusWatchTimer = serviceStatusWatchTimerRef.lock())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user