https://github.com/dankmeme01/hangdetector
Geometry Dash mod that detects hangs when closing the game
https://github.com/dankmeme01/hangdetector
Last synced: about 2 months ago
JSON representation
Geometry Dash mod that detects hangs when closing the game
- Host: GitHub
- URL: https://github.com/dankmeme01/hangdetector
- Owner: dankmeme01
- License: mit
- Created: 2026-04-22T13:52:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-22T16:08:37.000Z (about 2 months ago)
- Last Synced: 2026-04-22T16:14:48.017Z (about 2 months ago)
- Language: C++
- Size: 762 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hang Detector
This mod aims to detect a big and relatively common issue - closure hangs. These are most often caused by mods doing unsafe things in static destructors, causing the game to lock up and freeze forever when closing it. Such issues can be very difficult to debug, and they aren't even always obvious - they may simply leave the game running forever in background after it seems like it closed.
## How it works
Hang detector bundles a small program called watchdog, that is launched alongside Geometry Dash. Using IPC, this program observes the state of the game, and most of the time sits idle. When it detects that the game has hung and no longer responds to requests, it begins to investigate.
Watchdog gives the game a 2.5 second grace period. This should be enough for most sane static destructors to run. If the game still hasn't closed after that time passes, the game is killed and certain debug information is collected; rather than letting it potentially run forever.
## Credits
[Prevter](https://github.com/Prevter/) - for making the logo!