Only use safe_kill if SAFE_WINPID is defined

parent 9cc1698f
......@@ -313,7 +313,7 @@ sub start_kill {
my $ret= 1;
my $pid;
if (IS_WINDOWS)
if (IS_WINDOWS and defined $self->{SAFE_WINPID})
{
die "INTERNAL ERROR: no safe_kill" unless defined $safe_kill;
die "INTERNAL ERROR: no winpid" unless defined $self->{SAFE_WINPID};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment