Merge pull request #4565 from murrant/rrdtool-defunct-fixes

fix: possible additional fix for non-terminating rrdtool processes.
This commit is contained in:
Neil Lathwood
2016-09-24 13:50:48 +01:00
committed by GitHub

View File

@ -81,10 +81,10 @@ function rrdtool_close()
/** @var Proc $rrd_async_process */
if (rrdtool_running($rrd_sync_process)) {
$rrd_sync_process->close('quit');
$rrd_sync_process->sendCommand('quit');
}
if (rrdtool_running($rrd_async_process)) {
$rrd_async_process->close('quit');
$rrd_async_process->sendCommand('quit');
}
}