diff options
| author | 2023-12-26 11:46:04 -0500 | |
|---|---|---|
| committer | 2023-12-26 11:46:04 -0500 | |
| commit | 1559984f77c4cf7474a8f806046b709576e4e439 (patch) | |
| tree | 670b041b44aeff91afb8fce0e0e0bb288f86f326 /src/common/logging/backend.h | |
| parent | Merge pull request #12472 from FearlessTobi/port-7239 (diff) | |
| parent | assert/logging: Stop the logging thread and flush the backends before crashing (diff) | |
| download | yuzu-1559984f77c4cf7474a8f806046b709576e4e439.tar.gz yuzu-1559984f77c4cf7474a8f806046b709576e4e439.tar.xz yuzu-1559984f77c4cf7474a8f806046b709576e4e439.zip | |
Merge pull request #12471 from FearlessTobi/port-7146
Port citra-emu/citra#7146: "assert/logging: Stop the logging thread and flush the backends before crashing"
Diffstat (limited to 'src/common/logging/backend.h')
| -rw-r--r-- | src/common/logging/backend.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index 12e5e2498..2a9926e9e 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h | |||
| @@ -14,6 +14,9 @@ void Initialize(); | |||
| 14 | 14 | ||
| 15 | void Start(); | 15 | void Start(); |
| 16 | 16 | ||
| 17 | /// Explicitly stops the logger thread and flushes the buffers | ||
| 18 | void Stop(); | ||
| 19 | |||
| 17 | void DisableLoggingInTests(); | 20 | void DisableLoggingInTests(); |
| 18 | 21 | ||
| 19 | /** | 22 | /** |