Ensure that proxy driver gets properly shut down

This commit is contained in:
baldurk
2014-09-25 16:20:38 +01:00
parent 940f742e04
commit 98fd2bf114
2 changed files with 11 additions and 10 deletions
+3
View File
@@ -666,6 +666,9 @@ ProxySerialiser::~ProxySerialiser()
SAFE_DELETE(m_FromReplaySerialiser);
SAFE_DELETE(m_ToReplaySerialiser);
if(m_Proxy) m_Proxy->Shutdown();
m_Proxy = NULL;
for(auto it=m_ShaderReflectionCache.begin(); it != m_ShaderReflectionCache.end(); ++it)
delete it->second;
}