Commit 5b502e5
authored
fix(desktop): kill the node sidecar before self-update restart (#61)
app.restart() may not run the RunEvent::Exit handler, so the sidecar server could
linger and hold port 34115 — breaking the relaunched (updated) instance's own
server. Kill it explicitly before restarting.1 parent c691515 commit 5b502e5
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
179 | 188 | | |
180 | 189 | | |
181 | 190 | | |
| |||
0 commit comments