Skip to content

Commit

Permalink
cPluginMarkAd::MainThreadHook(): more debug logs for shutdown request
Browse files Browse the repository at this point in the history
  • Loading branch information
kfb77 committed Feb 3, 2024
1 parent b862fc7 commit 6042ec6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/markad.cpp
Expand Up @@ -239,8 +239,11 @@ void cPluginMarkAd::MainThreadHook(void) {
cString cPluginMarkAd::Active(void) {
// Return a message string if shutdown should be postponed
dsyslog("markad: got shutdown request");
if (statusMonitor->MarkAdRunning() && (setup.DeferredShutdown))
if (statusMonitor->MarkAdRunning() && (setup.DeferredShutdown)) {
dsyslog("markad: markad still running, shutdown request rejected");
return tr("markad still running");
}
dsyslog("markad: shutdown request accepted");
return NULL;
}

Expand Down

0 comments on commit 6042ec6

Please sign in to comment.