paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] timer destructor


From: Keith Swyer
Subject: [paragui-users] timer destructor
Date: Wed, 3 Jul 2002 13:21:05 -0300

hey all, found a small bug in the destructor of the timer object.....at
least under CW, you may want to double check on other compilers. the problem
is that  my_timermap.erase(id) (in the removetimer) causes the app to
freeze. the fix i used was to comment out this line and place
my_timermap.clear() in the destructor.....however this will cause issuses if
a user ever calls the removetimer .... that timer id won't be removed from
the map. i'm not sure why this is even causing an error as the iterator is
returning the id from the same map it's later trying to remove that id
from.....

help?!

--keith





reply via email to

[Prev in Thread] Current Thread [Next in Thread]