Return back posix_setsid() for sending anonymous stats

This commit is contained in:
Maksim Kuznetsov 2017-02-27 20:38:57 +03:00
parent 86ca7be1cb
commit 6fd636910b

View File

@ -27,6 +27,7 @@ class Reporter
self::send($stats);
} elseif ($pid === 0) {
// Child process.
posix_setsid();
self::send($stats);
// Close child process after doing job.
exit(0);