diff options
| author | 2023-12-25 13:50:22 +0100 | |
|---|---|---|
| committer | 2023-12-26 10:35:14 +0100 | |
| commit | 4f569fd568590b43cd8d924a6abf3c13632a098a (patch) | |
| tree | 8351b6afbd99abb2538286e5bd110317c5d5422e /src/common/logging/backend.h | |
| parent | Merge pull request #12394 from liamwhite/per-process-memory (diff) | |
| download | yuzu-4f569fd568590b43cd8d924a6abf3c13632a098a.tar.gz yuzu-4f569fd568590b43cd8d924a6abf3c13632a098a.tar.xz yuzu-4f569fd568590b43cd8d924a6abf3c13632a098a.zip | |
assert/logging: Stop the logging thread and flush the backends before crashing
Co-Authored-By: SachinVin <26602104+SachinVin@users.noreply.github.com>
Diffstat (limited to '')
| -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 | /** |