From 4f569fd568590b43cd8d924a6abf3c13632a098a Mon Sep 17 00:00:00 2001 From: FearlessTobi Date: Mon, 25 Dec 2023 13:50:22 +0100 Subject: assert/logging: Stop the logging thread and flush the backends before crashing Co-Authored-By: SachinVin <26602104+SachinVin@users.noreply.github.com> --- src/common/logging/backend.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/logging/backend.h') 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(); void Start(); +/// Explicitly stops the logger thread and flushes the buffers +void Stop(); + void DisableLoggingInTests(); /** -- cgit v1.2.3