Add sentry breadcrumb for FGCom
Trying to understand FLIGHTGEAR-66 crashes where the IAXClient thread is still running after FGCom::shutdown has (presumably?) been called
This commit is contained in:
parent
019d6cc53a
commit
977dd6fd15
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <ATC/CommStation.hxx>
|
||||
#include <Airports/airport.hxx>
|
||||
#include <Navaids/navlist.hxx>
|
||||
#include <Main/sentryIntegration.hxx>
|
||||
|
||||
#include <iaxclient.h>
|
||||
|
||||
|
@ -467,6 +468,9 @@ void FGCom::shutdown()
|
|||
iaxc_stop_processing_thread();
|
||||
iaxc_shutdown();
|
||||
|
||||
// added to help debugging lingering IAX thread after fgOSCloseWindow
|
||||
flightgear::addSentryBreadcrumb("Did shutdown FGCom", "info");
|
||||
|
||||
assert( static_instance == this );
|
||||
static_instance = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue