bug: added std::signal for proper handling of ctr+c

This commit is contained in:
2026-02-16 10:48:35 +01:00
parent aa6f7c7ce1
commit b6470b0d08

View File

@@ -53,6 +53,9 @@ int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
// Register Ctrl+C handler
std::signal(SIGINT, sigInterruptHandler);
// LOG(sls::logINFOBLUE) << "Current Process [ Tid: " << gettid() << " ]";
// handle locally on socket crash