aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorArmin Weatherwax2011-01-04 16:13:00 +0100
committerArmin Weatherwax2011-01-04 16:13:00 +0100
commitb966dc6ad14b8a43768a081756c4a10e7faac849 (patch)
tree0dcc1f6174ad26a9e1729374744072b3f5ca5864 /linden/indra
parentmove streaming audio out of gAudiop into its own class. (diff)
downloadmeta-impy-b966dc6ad14b8a43768a081756c4a10e7faac849.zip
meta-impy-b966dc6ad14b8a43768a081756c4a10e7faac849.tar.gz
meta-impy-b966dc6ad14b8a43768a081756c4a10e7faac849.tar.bz2
meta-impy-b966dc6ad14b8a43768a081756c4a10e7faac849.tar.xz
delete gAudioStream at shutdown.
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llappviewer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index eb03727..36a53d0 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -1283,9 +1283,8 @@ bool LLAppViewer::cleanup()
1283 { 1283 {
1284 // shut down the streaming audio sub-subsystem first, in case it relies on not outliving the general audio subsystem. 1284 // shut down the streaming audio sub-subsystem first, in case it relies on not outliving the general audio subsystem.
1285 1285
1286 LLStreamingAudioInterface *sai = gAudioStream->getStreamingAudioImpl(); 1286 delete gAudioStream;
1287 delete sai; 1287 gAudioStream = NULL;
1288// gAudioStream->setStreamingAudioImpl(NULL);
1289 } 1288 }
1290 1289
1291 if (gAudiop) 1290 if (gAudiop)