diff options
author | Simon Rettberg | 2023-12-19 17:57:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-12-19 17:57:04 +0100 |
commit | b0ac8fa1207d441076ecb60815d8f20a82925fdb (patch) | |
tree | 5962edee0ab315085414b0ce9064722878b8849f /inc/taskmanagercallback.inc.php | |
parent | [systemstatus] Add notice about security updates to main page (diff) | |
download | slx-admin-b0ac8fa1207d441076ecb60815d8f20a82925fdb.tar.gz slx-admin-b0ac8fa1207d441076ecb60815d8f20a82925fdb.tar.xz slx-admin-b0ac8fa1207d441076ecb60815d8f20a82925fdb.zip |
[inc/TMCallback] Release task when finished
Diffstat (limited to 'inc/taskmanagercallback.inc.php')
-rw-r--r-- | inc/taskmanagercallback.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php index fd3cc182..c6b447c9 100644 --- a/inc/taskmanagercallback.inc.php +++ b/inc/taskmanagercallback.inc.php @@ -84,6 +84,7 @@ class TaskmanagerCallback } } if (Taskmanager::isFinished($status)) { + Taskmanager::release($status); $func = array('TaskmanagerCallback', preg_replace('/\W/', '', $callback['cbfunction'])); if (!call_user_func_array('method_exists', $func)) { Eventlog::warning("handleCallback: Callback {$callback['cbfunction']} doesn't exist."); |