1
0
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:
llsth
2015-03-13 15:57:55 +01:00
parent 458318fa3a
commit 4e95cfecdf

View File

@ -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);