I am having huge problems with my mac juce-program these days… The latest is a problem with timers upon program shutdown. In the JuceInternalTimerThread:: the following function goes wrong (at ‘->’):
void decrementAllCounters (const int numMillisecs) const
{
Timer* t = firstTimer;
while (t != 0)
{
-> t->countdownMs -= numMillisecs;
t = t->next;
}
}
Superficialy, the problem is that ‘t’ points to the adress 0x258, that holds absolutely nothing of relevance. I am certain that all my destructors stop timers that may be running by
while(isTimerRunning())
stopTimer()
- probably a bit redundant, but just to make sure. What could be going wrong here?
EDIT: Oh I forgot… I haven’t experienced this in Juce 1.21, but switching to 1.38…
-Thanks in advance
-A