()
| 198 | } |
| 199 | |
| 200 | function localServiceProcessExited() { |
| 201 | if ( |
| 202 | Number.isInteger(localServicePid) && |
| 203 | localServicePid > 0 && |
| 204 | !processIsRunning(localServicePid) |
| 205 | ) { |
| 206 | console.error( |
| 207 | `[simdeck-provider-bridge] local SimDeck service process ${localServicePid} is no longer running.`, |
| 208 | ); |
| 209 | printRecentServiceLog(); |
| 210 | return true; |
| 211 | } |
| 212 | return false; |
| 213 | } |
| 214 | |
| 215 | function updateLocalAvailability(metadata) { |
| 216 | if (stopped) { |
no test coverage detected