summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-04-19 14:42:56 -0400
committerOz Linden <oz@lindenlab.com>2013-04-19 14:42:56 -0400
commit3bb708d70636188b91a6e8476a3b899441de0468 (patch)
tree85790d906bed73e19138004c4a54fc3fed952d85 /indra/newview/llappviewer.cpp
parent327c99cadbcbe15442eaee8e0625ade17dcda61f (diff)
parentddd5659f815a39e9a8ef0e86c911fea75a7d8848 (diff)
merge up to latest viewer-development for merge to 3.5.2
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rwxr-xr-x[-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 fd26b2767f..dcddd0fbf5 100644..100755
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1724,19 +1724,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;