Removing XESAFERELEASE.

This commit is contained in:
Ben Vanik
2014-08-16 17:33:24 -07:00
parent 5b83cf5fd1
commit 187d0ad277
22 changed files with 70 additions and 83 deletions

View File

@@ -162,7 +162,7 @@ void XAudio2AudioDriver::Shutdown() {
mastering_voice_ = NULL;
audio_->StopEngine();
XESAFERELEASE(audio_);
audio_->Release();
delete voice_callback_;
CloseHandle(wait_handle_);