mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #4565 from murrant/rrdtool-defunct-fixes
fix: possible additional fix for non-terminating rrdtool processes.
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user