aboutsummaryrefslogtreecommitdiff
path: root/src/core/debugger/debugger.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-10 09:17:12 -0400
committerLiam <byteslice@airmail.cc>2022-06-10 09:17:12 -0400
commitc14f683322f7e66c4c9ca9a4695aa92197d4e5ca (patch)
tree01ce352e9ffbc07cb2b7dc0fd1e1c4ea50298bee /src/core/debugger/debugger.h
parentb09ff19f31823f69dd86dfed65ad31dc4f5e5f97 (diff)
core/debugger: fix a number of shutdown deadlocks
Diffstat (limited to 'src/core/debugger/debugger.h')
-rw-r--r--src/core/debugger/debugger.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/debugger/debugger.h b/src/core/debugger/debugger.h
index ea36c6ab20..f9738ca3db 100644
--- a/src/core/debugger/debugger.h
+++ b/src/core/debugger/debugger.h
@@ -35,6 +35,11 @@ public:
*/
bool NotifyThreadStopped(Kernel::KThread* thread);
+ /**
+ * Notify the debugger that a shutdown is being performed now and disconnect.
+ */
+ void NotifyShutdown();
+
private:
std::unique_ptr<DebuggerImpl> impl;
};