Skip to content

Commit

Permalink
finalization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apotocki committed Jun 10, 2024
1 parent e825d2d commit 6de2173
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions smartgame/SgProp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,10 @@ void SgProp::Init()
void SgProp::Fini()
{
s_initialized = false;
for (size_t i = 0; i < s_numPropClasses; ++i) {
SgProp::s_prop[i].reset();
}
s_numPropClasses = 0;
}

//----------------------------------------------------------------------------
Expand Down

0 comments on commit 6de2173

Please sign in to comment.