fix crash

This commit is contained in:
Glenn Maynard
2005-02-11 04:07:30 +00:00
parent fb36d944f9
commit a3e585b886
+2 -2
View File
@@ -12,7 +12,7 @@ WorkerThread::WorkerThread( const CString &sName ):
m_fHeartbeat = -1;
m_bRequestFinished = false;
m_WorkerThread.SetName( "ThreadedFileWorker " + sName + " worker" );
m_WorkerThread.SetName( "WorkerThread (" + sName + ")" );
}
WorkerThread::~WorkerThread()
@@ -48,7 +48,7 @@ void WorkerThread::StopThread()
m_WorkerEvent.Lock();
if( m_bTimedOut )
{
LOG->Trace( "Waiting for timed-out fs \"%s\" to complete ..." );
LOG->Trace( "Waiting for timed-out fs \"%s\" to complete ...", m_WorkerThread.GetName().c_str() );
while( m_bTimedOut )
m_WorkerEvent.Wait();
}