Added event listener for thread state changed events from the DebugServer, within Insight.

This covers cases where the DebugServer has unexpectedly shutdown and Insight should follow.
This commit is contained in:
Nav
2021-07-04 00:32:05 +01:00
parent ac64d04c5d
commit 5a8f54a229
2 changed files with 19 additions and 0 deletions

View File

@@ -90,6 +90,14 @@ namespace Bloom
*/
void onTargetControllerThreadStateChangedEvent(const Events::TargetControllerThreadStateChanged& event);
/**
* If the something horrible was to happen and the DebugServer dies unexpectedly, Insight will shutdown
* in response.
*
* @param event
*/
void onDebugServerThreadStateChangedEvent(const Events::DebugServerThreadStateChanged& event);
/**
* Dispatches any events currently in the queue.
*