You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libcocos2d.dll!cocos2d::Scheduler::unschedule(void(cocos2d::Ref::*)(float) selector, cocos2d::Ref * target) Line 1046 C++
libcocos2d.dll!cocos2d::experimental::AudioEngineImpl::~AudioEngineImpl() Line 127 C++
[External Code]
libcocos2d.dll!cocos2d::experimental::AudioEngine::end() Line 160 C++
hello.exe!AppDelegate::~AppDelegate() Line 33 C++
hello.exe!wWinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, wchar_t * lpCmdLine, int nCmdShow) Line 17 C++
[External Code]
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
Code for reproducing the error
boolAppDelegate::applicationDidFinishLaunching() {
/* ... */auto scene = HelloWorld::createScene();
AudioEngine::play2d("music.mp3", true);
// run
director->runWithScene(scene);
returntrue;
}
Seems like the call to Scheduler::unschedule method from AudioEngineImpl destructor (AudioEngine-win32.cpp:124) is performed when the scheduler is already being deleted. Therefore the memory it is pointing to is invalid.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
Exception thrown in CCScheduler.cpp:1047
Call stack
Code for reproducing the error
Seems like the call to
Scheduler::unschedule
method from AudioEngineImpl destructor (AudioEngine-win32.cpp:124) is performed when the scheduler is already being deleted. Therefore the memory it is pointing to is invalid.The text was updated successfully, but these errors were encountered: