Don't try to handle exceptions thrown by delete

Originally committed to SVN as r5853.
This commit is contained in:
Thomas Goyne 2011-11-16 19:55:04 +00:00
parent a5f6e0588e
commit 539dc2fbe4

View file

@ -859,14 +859,7 @@ void DirectSoundPlayer2::CloseStream()
{ {
if (!IsThreadAlive()) return; if (!IsThreadAlive()) return;
try
{
delete thread; delete thread;
}
catch (const char *msg)
{
LOG_E("audio/player/dsound") << msg;
}
thread = 0; thread = 0;
} }