Commit a349745e authored by Jonas Stienen's avatar Jonas Stienen
Browse files

Finalizing audio driver before destruction in VACore initialize when something...

Finalizing audio driver before destruction in VACore initialize when something went wrong - otherwise ASIO driver will still be initialized but cannot be used anymore (critical section blocked)
parent 04736e33
......@@ -3916,6 +3916,8 @@ void CVACoreImpl::InitializeAudioDriver()
}
catch (...)
{
m_pAudioDriverBackend->finalize();
delete m_pAudioDriverBackend;
m_pAudioDriverBackend = nullptr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment