Skip to content

Commit 1b9fa14

Browse files
haargoalders
authored andcommitted
kill test server with KILL rather than QUIT
Using QUIT will cause perl on win32 to spew warnings "Terminating on signal SIGQUIT". We don't need the process to shut down gracefully, so we can just kill it using KILL, which avoids these messages.
1 parent 6d6a1ba commit 1b9fa14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib/TestServer.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ sub stop {
7171
my $pid = delete $self->{pid} or return;
7272
my $io = delete $self->{io};
7373

74-
kill 'QUIT', $pid;
74+
kill 'KILL', $pid;
7575
close $io;
7676

7777
waitpid $pid, 0;

0 commit comments

Comments
 (0)