Commit 8705320
committed
fix(ports): preserve unknown port-probe status as fail-closed error
- When checkPortInUse returns "unknown" (all probes failed for non-EADDRINUSE
reasons), isPortBusy now throws instead of silently returning false
- This prevents forceFreePortAndWait from treating an indeterminate probe
as "port is free" and skipping cleanup1 parent c8fac5a commit 8705320
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments