Don't try to handle exceptions thrown by delete
Originally committed to SVN as r5853.
This commit is contained in:
parent
a5f6e0588e
commit
539dc2fbe4
1 changed files with 1 additions and 8 deletions
|
@ -859,14 +859,7 @@ void DirectSoundPlayer2::CloseStream()
|
|||
{
|
||||
if (!IsThreadAlive()) return;
|
||||
|
||||
try
|
||||
{
|
||||
delete thread;
|
||||
}
|
||||
catch (const char *msg)
|
||||
{
|
||||
LOG_E("audio/player/dsound") << msg;
|
||||
}
|
||||
thread = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue