Restructured the way, processes are inserted and removed

This commit is contained in:
Michael Vogel 2016-09-09 20:55:49 +00:00
parent 22f32d9721
commit 1caa87dce6
22 changed files with 5 additions and 44 deletions

View file

@ -333,7 +333,10 @@ function poller_active_workers() {
}
if (array_search(__file__,get_included_files())===0){
poller_run($_SERVER["argv"],$_SERVER["argc"]);
killme();
poller_run($_SERVER["argv"],$_SERVER["argc"]);
get_app()->end_process();
killme();
}
?>