fix "Assertion 'thr != NULL' failed"
This commit is contained in:
@@ -303,7 +303,9 @@ RageSound_Generic_Software::RageSound_Generic_Software()
|
||||
|
||||
RageSound_Generic_Software::~RageSound_Generic_Software()
|
||||
{
|
||||
/* Signal the mixing thread to quit. */
|
||||
/* Signal the decoding thread to quit. */
|
||||
if( m_DecodeThread.IsCreated() )
|
||||
{
|
||||
shutdown_decode_thread = true;
|
||||
LOG->Trace("Shutting down decode thread ...");
|
||||
LOG->Flush();
|
||||
@@ -311,6 +313,7 @@ RageSound_Generic_Software::~RageSound_Generic_Software()
|
||||
LOG->Trace("Decode thread shut down.");
|
||||
LOG->Flush();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002-2004 by the person(s) listed below. All rights reserved.
|
||||
|
||||
Reference in New Issue
Block a user