From 75a100d422f22f44e992a407dc9bd978dd898651 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 29 Jul 2010 16:40:38 +0200 Subject: [PATCH] Changed: #1032 Crash in OpenAL driver when a music is playing and user returns to selection menu --- code/ryzom/client/src/release.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/client/src/release.cpp b/code/ryzom/client/src/release.cpp index 0e7404fd9..39705abb7 100644 --- a/code/ryzom/client/src/release.cpp +++ b/code/ryzom/client/src/release.cpp @@ -212,8 +212,8 @@ void releaseMainLoopReselect() // alredy called from farTPMainLoop() // --R2::getEditor().autoConfigRelease(IsInRingSession); - // Stop the music - MusicPlayer.stop(); + // Pause any user played music + MusicPlayer.pause(); // only really needed at exit // --STRING_MANAGER::CStringManagerClient::instance()->flushStringCache(); @@ -362,8 +362,8 @@ void releaseMainLoop(bool closeConnection) // Release R2 editor if applicable R2::getEditor().autoConfigRelease(IsInRingSession); - // Stop the music - MusicPlayer.stop(); + // Pause any user played music + MusicPlayer.pause(); // flush the server string cache STRING_MANAGER::CStringManagerClient::instance()->flushStringCache();