Open Haceau-Zoac opened 3 years ago
I found the problem because the destroyText
function passed a null pointer
Repair method:
Add a null pointer detection to the function destroyText
void destroyText(Text* self) {
if (self != NULL)
{
SDL_DestroyTexture(self->origin);
free(self);
}
}
Press ESC or close the game in multpayers / LAN / join a game to crash(dungeon_rush.exe 已停止工作) My system is window7