Skip to content

Commit

Permalink
load_dynamic_result_viewer: Help ensure child process ends
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellarabel committed Feb 25, 2020
1 parent 4c10893 commit dadf7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pts-core/modules/load_dynamic_result_viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static function __shutdown()
$proc = dirname($proc_check);
if(strpos(pts_file_io::file_get_contents($proc . '/comm'), 'php') !== false)
{
if(is_file($proc . '/environ') && strpos(pts_file_io::file_get_contents($proc . '/comm'), 'PTS_VIEWER_RESULT_PATH') !== false)
if(is_file($proc . '/environ') && strpos(pts_file_io::file_get_contents($proc . '/environ'), 'PTS_VIEWER_RESULT_PATH') !== false)
{
if(pts_client::executable_in_path('kill'))
{
Expand Down

0 comments on commit dadf7f0

Please sign in to comment.