Fixed regression that prevents app to quit if another process is already running

This commit is contained in:
emeric
2021-12-05 15:20:07 +01:00
parent 0cf6b2159e
commit 63ed28e38f
2 changed files with 9 additions and 5 deletions
@@ -270,8 +270,9 @@ ScannerService::ScannerService(Db& db, Recommendation::IRecommendationService& r
ScannerService::~ScannerService()
{
LMS_LOG(DBUPDATER, INFO) << "Shutting down Scanner...";
LMS_LOG(DBUPDATER, INFO) << "Stopping service...";
stop();
LMS_LOG(DBUPDATER, INFO) << "Service stopped!";
}
void