mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add SystemProcess
This commit is contained in:
parent
a5a2bd0c8a
commit
466095efcb
3 changed files with 102 additions and 4 deletions
|
|
@ -10,6 +10,7 @@
|
|||
static debug::Logger logger("main");
|
||||
|
||||
static void sigterm_handler(int signum) {
|
||||
logger.info() << "SIGTERM received";
|
||||
Engine::getInstance().quit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue