fixed deadlock

This commit is contained in:
2026-04-03 10:36:13 +03:00
parent 071e7fc189
commit e113510a6a
5 changed files with 46 additions and 38 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);