diff options
author | Armin Weatherwax | 2011-01-04 16:13:00 +0100 |
---|---|---|
committer | Armin Weatherwax | 2011-01-04 16:13:00 +0100 |
commit | b966dc6ad14b8a43768a081756c4a10e7faac849 (patch) | |
tree | 0dcc1f6174ad26a9e1729374744072b3f5ca5864 /linden/indra | |
parent | move streaming audio out of gAudiop into its own class. (diff) | |
download | meta-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.cpp | 5 |
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) |