CI: save a minidump if it hangs on shutdown

This commit is contained in:
SChernykh
2024-07-20 12:49:00 +02:00
parent ce6553863a
commit 37bf8554fc
5 changed files with 33 additions and 2 deletions
+5
View File
@@ -2185,6 +2185,11 @@ void SideChain::prune_old_blocks()
m_pool->print_hosts();
m_pool->stop();
#ifdef DEV_TRACK_MEMORY
// Give it 1 minute to shut down, otherwise save a minidump
minidump_and_crash(60 * 1000);
#endif
}
#endif
}