When I close my application on Windows. Sometimes it’s throwing Access violation writing location inside the destructor of MciPlayer.cpp class
MciPlayer::~MciPlayer()
{
Close();
DestroyWindow(m_hWnd);
}
The app is crashing sometimes on DestroyWindow;. I have no idea why it’s occurring?
I am using cocos2d-2.0-x-2.0.4 on Windows 7 x86