summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2013-04-18 15:59:22 -0700
committerdolphin <dolphin@lindenlab.com>2013-04-18 15:59:22 -0700
commiteec08ef64c59fa7569c7418d40135d73338e1d8d (patch)
tree3b62188c704df9ea16484c497d68388ab2908b80 /indra/newview/llappviewer.cpp
parent56badfe3498b5eeefb5c06c4b0d51eb1c62ded9c (diff)
parented2b5da8f1eb51e747f6d9f5a4fc535cbf7e69d9 (diff)
Merge with viewer-development
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 03d9b683a4..49c553d0cc 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1708,19 +1708,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;