Skip to content

Commit

Permalink
Models|Fixed: Attempt to delete StringPool during abnormal shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 11, 2012
1 parent 881b150 commit fd3b2ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doomsday/engine/portable/src/r_model.c
Expand Up @@ -1304,8 +1304,11 @@ void R_ShutdownModels(void)

clearModelList();

StringPool_Delete(modelRepository);
modelRepository = 0;
if(modelRepository)
{
StringPool_Delete(modelRepository);
modelRepository = 0;
}
}

void R_SetModelFrame(modeldef_t* modef, int frame)
Expand Down

0 comments on commit fd3b2ff

Please sign in to comment.