fixed deadlock

This commit is contained in:
2026-04-03 10:39:14 +03:00
parent 9d58bf1694
commit cc870491f5
5 changed files with 45 additions and 83 deletions

View File

@@ -65,8 +65,12 @@ void signals(int sig){
signal(sig, SIG_IGN);
DBG("Get signal %d, quit.\n", sig);
}
DBG("Stop!");
Mount.stop();
usleep(10000);
DBG("Quit");
Mount.quit();
usleep(10000);
DBG("close");
if(fcoords) fclose(fcoords);
exit(sig);