From 19cb69424f1d98c5f131f76acb9d98af14fc6b18 Mon Sep 17 00:00:00 2001 From: Ruediger Hanke Date: Fri, 10 Jan 2003 15:32:20 +0000 Subject: Oops svn-id: r6383 --- backends/morphos/morphos_timer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends') diff --git a/backends/morphos/morphos_timer.cpp b/backends/morphos/morphos_timer.cpp index f198c47e55..cd03630855 100644 --- a/backends/morphos/morphos_timer.cpp +++ b/backends/morphos/morphos_timer.cpp @@ -184,6 +184,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine) WaitIO((IORequest *) timer_slots[t].ts_IORequest); signal_mask &= ~timer_slots[t].ts_SignalBit; timer_bits &= ~timer_slots[t].ts_SignalBit; + CloseDevice((IORequest *) timer_slots[t].ts_IORequest); DeleteIORequest((IORequest *) timer_slots[t].ts_IORequest); DeleteMsgPort(timer_slots[t].ts_Port); if (t < timers-1) @@ -234,6 +235,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine) { AbortIO((IORequest *) timer_slots[t].ts_IORequest); WaitIO((IORequest *) timer_slots[t].ts_IORequest); + CloseDevice((IORequest *) timer_slots[t].ts_IORequest); DeleteIORequest((IORequest *) timer_slots[t].ts_IORequest); DeleteMsgPort(timer_slots[t].ts_Port); } -- cgit v1.2.3