12fa25d089b5bd9c0b8ea886f40cd080f4857c1e
When macOS shut down or QEMU quit on its own, reims-go had issued no stop, so it only saw the VM stopped at its next steady poll, up to 5 s later. Now pollVMs waits on each running QEMU process handle and wakes the poll the moment the process exits; a PID is only waited on while it names qemu-system-x86_64.exe, so a reused PID is not mistaken for the VM. Measured with macos-tahoe and QMP quit: the window got the state change 51 ms after QEMU exited. Off Windows the steady poll remains. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
72.1%
TypeScript
17.8%
JavaScript
6%
CSS
2.1%
PowerShell
0.9%
Other
1%