|
@@ -306,12 +306,6 @@ void App::cleanup()
|
|
|
m_stagingMem = nullptr;
|
|
m_stagingMem = nullptr;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if(m_gr)
|
|
|
|
|
- {
|
|
|
|
|
- GrManager::deleteInstance(m_gr);
|
|
|
|
|
- m_gr = nullptr;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if(m_threadpool)
|
|
if(m_threadpool)
|
|
|
{
|
|
{
|
|
|
m_heapAlloc.deleteInstance(m_threadpool);
|
|
m_heapAlloc.deleteInstance(m_threadpool);
|
|
@@ -324,6 +318,12 @@ void App::cleanup()
|
|
|
m_threadHive = nullptr;
|
|
m_threadHive = nullptr;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if(m_gr)
|
|
|
|
|
+ {
|
|
|
|
|
+ GrManager::deleteInstance(m_gr);
|
|
|
|
|
+ m_gr = nullptr;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if(m_input)
|
|
if(m_input)
|
|
|
{
|
|
{
|
|
|
m_heapAlloc.deleteInstance(m_input);
|
|
m_heapAlloc.deleteInstance(m_input);
|