Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/Mojo/Server/Hypnotoad.pm b/lib/Mojo/Server/Hypnotoad.pm
- index 847cd3e..eb023f4 100644
- --- a/lib/Mojo/Server/Hypnotoad.pm
- +++ b/lib/Mojo/Server/Hypnotoad.pm
- @@ -223,6 +223,7 @@ sub _manage {
- if ($ENV{HYPNOTOAD_PID} && $ENV{HYPNOTOAD_PID} ne $$) {
- warn "STOPPING MANAGER $ENV{HYPNOTOAD_PID}\n" if DEBUG;
- kill 'QUIT', $ENV{HYPNOTOAD_PID};
- + setsid or die "Can't start a new session: $!";
- }
- $ENV{HYPNOTOAD_PID} = $$;
Add Comment
Please, Sign In to add comment