Commit d4884b4
fix: unref keepalive timer to prevent proxy hanging on exit
The setInterval keepalive ping was keeping the proxy process alive
after copilot closed stdin. Adding .unref() lets Node exit cleanly
when there are no other active handles.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 221e4a5 commit d4884b4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments