Commit 3ee9f83
Fix shutdown blocking and startup order in dev-electron script
- Use .unref() on the SIGKILL grace period timer so shutdown exits
immediately instead of unconditionally blocking for 1.2 seconds
- Move cleanupStaleDevApps() before startWatchers() to ensure stale
processes are cleaned up before any new activity begins
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent 1633fc6 commit 3ee9f83
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 187 | + | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
194 | 191 | | |
195 | | - | |
196 | 192 | | |
| 193 | + | |
197 | 194 | | |
198 | 195 | | |
199 | 196 | | |
| |||
0 commit comments