FileView: Fixed icon issue with the thread.

This commit is contained in:
Brian Ferguson 2013-03-05 10:32:39 -07:00
parent 60286236f6
commit 4cf416bd3f

View File

@ -673,6 +673,8 @@ PLUGIN_EXPORT void Finalize(void* data)
unsigned __stdcall SystemThreadProc(void* pParam)
{
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
ParentMeasure* parent = (ParentMeasure*)pParam;
EnterCriticalSection(&g_CriticalSection);
@ -896,6 +898,8 @@ unsigned __stdcall SystemThreadProc(void* pParam)
}
delete tmp;
CoUninitialize();
return 0;
}