Only use safe_kill if SAFE_WINPID is defined
This commit is contained in:
parent
17e0770d6e
commit
16afab61ff
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user