Answer the question
In order to leave comments, you need to log in
Audioengine::play2d throws this->**_hashForTimers**?
AudioEngine::play2d("sounds/hit.mp3");
void Scheduler::unschedule(SEL_SCHEDULE selector, Ref *target)
{
// explicit handle nil arguments when removing an object
if (target == nullptr || selector == nullptr)
{
return;
}
tHashTimerEntry *element = nullptr;
HASH_FIND_PTR(_hashForTimers, &target, element); // error here
Exception thrown: read access violation.
this->**_hashForTimers** was 0xDDDDDDDD.
AppDelegate::~AppDelegate()
{
#if USE_AUDIO_ENGINE
//AudioEngine::end(); // this solves exception, but is this right?
#endif
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question