mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 23:00:42 -07:00
32801319fa
## Link to GitHub Issue, if one exists #388 ## Description of change Instead of setting flags in `signal` and logging when we crash, create a class for logging deferred semi-fatal messages, and dump them to the log immediately before crashing or shutting down. ## Testing Tested each failure case by injection.
15 lines
198 B
C++
15 lines
198 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
namespace launcher::signal {
|
|
|
|
// settings
|
|
extern bool DISABLE;
|
|
extern bool USE_VEH_WORKAROUND;
|
|
|
|
void attach();
|
|
void init();
|
|
}
|