noooooooooooooo

This commit is contained in:
tildearrow 2023-07-10 02:08:52 -05:00
parent 5a9de0f3e6
commit 47110d3492

View file

@ -657,10 +657,12 @@ int main(int argc, char** argv) {
g.setFileName(fileName);
}
#ifndef _WIN32
sigemptyset(&termsa.sa_mask);
termsa.sa_flags=0;
termsa.sa_handler=handleTermGUI;
sigaction(SIGTERM,&termsa,NULL);
#endif
g.loop();
logI("closing GUI.");