A basic crash handler you can put anywhere, so long as you implement closing right!
GitHub RepositoryIt hosts a TCP Server at localhost:6961 that listens to anything.
If anything requests anything to this TCP Server, it'll assume the application it's monitoring is closing normally, so, it'll kill itself.
If the application closes without sending anything, the crash window will appear!
| Parameter | Description | Required? |
|---|---|---|
--monitor-pid=INTEGER |
The process ID to monitor | Yes |