Commit 90bcdad
committed
Don't wrap loop around waitpid call
Process.waitpid by default waits for its child to exit. So there's no
need to wrap a loop around it.
What happens in #485 is that the loop keeps running until it's killed by
puma with a `KILL` signal.
Reference: https://rubyapi.org/3.1/o/process#method-c-waitpid1 parent bbc5831 commit 90bcdad
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments