fix leak if RageThread::Wait() is never called

This commit is contained in:
Glenn Maynard
2005-01-08 15:36:12 +00:00
parent 3366f50e31
commit 84333f37f5
+2 -1
View File
@@ -196,7 +196,8 @@ RageThread::RageThread()
RageThread::~RageThread()
{
if( m_pSlot != NULL )
Wait();
}
const char *ThreadSlot::GetThreadName() const