diff options
| author | 2022-06-10 09:17:12 -0400 | |
|---|---|---|
| committer | 2022-06-10 09:17:12 -0400 | |
| commit | 1f0fee33edf06bb237a952b78b6e117ba81cbdbb (patch) | |
| tree | 01ce352e9ffbc07cb2b7dc0fd1e1c4ea50298bee /src/core/debugger/debugger.h | |
| parent | core/debugger: support operation in yuzu-cmd (diff) | |
| download | yuzu-1f0fee33edf06bb237a952b78b6e117ba81cbdbb.tar.gz yuzu-1f0fee33edf06bb237a952b78b6e117ba81cbdbb.tar.xz yuzu-1f0fee33edf06bb237a952b78b6e117ba81cbdbb.zip | |
core/debugger: fix a number of shutdown deadlocks
Diffstat (limited to 'src/core/debugger/debugger.h')
| -rw-r--r-- | src/core/debugger/debugger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/debugger/debugger.h b/src/core/debugger/debugger.h index ea36c6ab2..f9738ca3d 100644 --- a/src/core/debugger/debugger.h +++ b/src/core/debugger/debugger.h | |||
| @@ -35,6 +35,11 @@ public: | |||
| 35 | */ | 35 | */ |
| 36 | bool NotifyThreadStopped(Kernel::KThread* thread); | 36 | bool NotifyThreadStopped(Kernel::KThread* thread); |
| 37 | 37 | ||
| 38 | /** | ||
| 39 | * Notify the debugger that a shutdown is being performed now and disconnect. | ||
| 40 | */ | ||
| 41 | void NotifyShutdown(); | ||
| 42 | |||
| 38 | private: | 43 | private: |
| 39 | std::unique_ptr<DebuggerImpl> impl; | 44 | std::unique_ptr<DebuggerImpl> impl; |
| 40 | }; | 45 | }; |