mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 23:05:23 +00:00
Use a common function to abort for debugging purposes
This commit is contained in:
@ -489,7 +489,7 @@ namespace platf {
|
||||
auto winerror = GetLastError();
|
||||
// Log the failure of reverting to self and its error code
|
||||
BOOST_LOG(fatal) << "Failed to revert to self after impersonation: "sv << winerror;
|
||||
std::abort();
|
||||
DebugBreak();
|
||||
}
|
||||
|
||||
return ec;
|
||||
|
||||
Reference in New Issue
Block a user