update
This commit is contained in:
@@ -33,7 +33,10 @@ MainComponent::MainComponent()
|
||||
|
||||
MainComponent::~MainComponent()
|
||||
{
|
||||
activeComponent->Unload();
|
||||
if (activeComponent != nullptr)
|
||||
{
|
||||
activeComponent->Unload();
|
||||
}
|
||||
}
|
||||
|
||||
void MainComponent::Initialize()
|
||||
|
||||
Reference in New Issue
Block a user