mirror of
https://github.com/eddyem/small_tel.git
synced 2026-05-01 18:37:07 +03:00
fixed deadlock
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user