summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-04-18 14:55:28 -0400
committerOz Linden <oz@lindenlab.com>2013-04-18 14:55:28 -0400
commited2b5da8f1eb51e747f6d9f5a4fc535cbf7e69d9 (patch)
tree1971a71e793087d45501a4f291931725bb4e1753 /indra/newview/llappviewer.cpp
parentf16472976ec4fe0908753e2708df26f8d7a92348 (diff)
parentadfa7d49de6d58671bc7121483e306a9f6d705ed (diff)
merge changes for DRTVWR-298
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 3adf956ae3..97962b8705 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1707,19 +1707,7 @@ bool LLAppViewer::cleanup()
gAudiop->setStreamingAudioImpl(NULL);
// shut down the audio subsystem
-
- bool want_longname = false;
- if (gAudiop->getDriverName(want_longname) == "FMOD")
- {
- // This hack exists because fmod likes to occasionally
- // crash or hang forever when shutting down, for no
- // apparent reason.
- llwarns << "Hack, skipping FMOD audio engine cleanup" << llendflush;
- }
- else
- {
- gAudiop->shutdown();
- }
+ gAudiop->shutdown();
delete gAudiop;
gAudiop = NULL;