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