| 112 | } |
| 113 | |
| 114 | void Error::impl::HandleCriticalCommon(std::wstring_view message, std::wstring_view error_message, std::source_location location) |
| 115 | { |
| 116 | auto dialogBoxThread = HandleCommon(spdlog::level::critical, message, error_message, location, UTIL_WIDEN(UTF8_ERROR_TITLE), APP_NAME L" has encountered a fatal error and cannot continue executing.", MB_ICONERROR | MB_TOPMOST); |
| 117 | if (dialogBoxThread.joinable()) |
| 118 | { |
| 119 | dialogBoxThread.join(); |
| 120 | } |
| 121 | } |
nothing calls this directly
no outgoing calls
no test coverage detected