Updated the SystemComponents in the Default Gem and Project Templates to initialize/deinitialize the Interface instance

This commit is contained in:
mcgarrah
2021-06-10 14:59:09 -05:00
parent 0aba7911a2
commit f61635c327
5 changed files with 38 additions and 2 deletions
@@ -66,7 +66,7 @@ namespace ${SanitizedCppName}
${SanitizedCppName}Interface::Register(this);
}
}
${SanitizedCppName}SystemComponent::~${SanitizedCppName}SystemComponent()
{
if (${SanitizedCppName}Interface::Get() == this)