mirror of
https://frontier.innolan.net/rainlance/amiga-ntimed.git
synced 2025-11-20 05:19:19 +00:00
Released timer resource when exiting
This commit is contained in:
@ -169,9 +169,10 @@ amiga_sleep(double dur)
|
||||
sigs = Wait(SIGBREAKF_CTRL_C | timersig);
|
||||
|
||||
if (sigs & SIGBREAKF_CTRL_C) {
|
||||
exit(1);
|
||||
delete_timer(request);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
delete_timer(request);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user