We should reset the session variable

This commit is contained in:
Michael 2017-09-08 08:50:08 +00:00
parent a5a4f53287
commit c44448dd57
1 changed files with 3 additions and 0 deletions

View File

@ -303,6 +303,9 @@ function poller_exec_function($queue, $funcname, $argv) {
$up_duration = number_format(microtime(true) - $poller_up_start, 3); $up_duration = number_format(microtime(true) - $poller_up_start, 3);
// Reset global data to avoid interferences
unset($_SESSION);
$funcname($argv, $argc); $funcname($argv, $argc);
$a->process_id = $old_process_id; $a->process_id = $old_process_id;