From b966dc6ad14b8a43768a081756c4a10e7faac849 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Tue, 4 Jan 2011 16:13:00 +0100 Subject: delete gAudioStream at shutdown. --- linden/indra/newview/llappviewer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'linden') 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() { // shut down the streaming audio sub-subsystem first, in case it relies on not outliving the general audio subsystem. - LLStreamingAudioInterface *sai = gAudioStream->getStreamingAudioImpl(); - delete sai; -// gAudioStream->setStreamingAudioImpl(NULL); + delete gAudioStream; + gAudioStream = NULL; } if (gAudiop) -- cgit v1.1