summaryrefslogtreecommitdiff
path: root/uactivity.c
diff options
context:
space:
mode:
Diffstat (limited to 'uactivity.c')
-rw-r--r--uactivity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uactivity.c b/uactivity.c
index ed6ab97..bc36266 100644
--- a/uactivity.c
+++ b/uactivity.c
@@ -132,7 +132,7 @@ void cPluginUactivity::Stop(void)
{
// Stop any background activities the plugin is performing.
Run.Call(oShutDown, k_Setup);
- Run.Call(oShutDown, false);
+ Run.Call(oShutDown, !ShutdownHandler.IsUserInactive());
Run.Call(oShutDown);
}