Hello, i post here because i have a weird problem, when my Universal Windows Platform app finished runing, calling SDL_Quit seems to crash my program, even with a program like this
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Quit();
return 0;
i get a crash when calling sdl_quit, i’m always redirected to
static bool __cdecl issue_debug_notification(wchar_t const* const message) throw()
{
// This is referenced only in the Debug CRT build
UNREFERENCED_PARAMETER(message);#ifdef _DEBUG switch (_CrtDbgReportW(_CRT_ERROR, nullptr, 0, nullptr, L"%ls", message)) { case 1: _CrtDbgBreak(); return true; case 0: return true; } #endif // _DEBUG return false; }
and the crash occures at _CrtDbgBreak(); with the error message "abort() has been called"
what could i do to fix it ?