1
0
mirror of synced 2024-12-04 20:17:57 +01:00
ImHex/lib/libimhex
iTrooz c6c3ca4d26
fix: Reset terminate handler directly when being called + some other crashes to crash handling (#1174)
This PR fixes some things about crash handling:
- when the terminate handler is called, immediately set it back to the
original one, so can't make a recursion if the crash-handling code fails
- Only save projects if the crash occured after Imhex finished startup
- do not update the project location when saving the crash backup file:
this will remove problems when `EventAbnormalTermination` is called
before `crashCallback()`

I also added a bit more documentation
2023-07-01 12:32:28 +02:00
..
include fix: Reset terminate handler directly when being called + some other crashes to crash handling (#1174) 2023-07-01 12:32:28 +02:00
source fix: Reset terminate handler directly when being called + some other crashes to crash handling (#1174) 2023-07-01 12:32:28 +02:00
CMakeLists.txt build: Make sure changing commit hash doesn't trigger a full rebuild 2023-06-26 14:01:45 +02:00