mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
FileView: Fixed icon issue with the thread.
This commit is contained in:
parent
60286236f6
commit
4cf416bd3f
@ -673,6 +673,8 @@ PLUGIN_EXPORT void Finalize(void* data)
|
|||||||
|
|
||||||
unsigned __stdcall SystemThreadProc(void* pParam)
|
unsigned __stdcall SystemThreadProc(void* pParam)
|
||||||
{
|
{
|
||||||
|
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
|
||||||
|
|
||||||
ParentMeasure* parent = (ParentMeasure*)pParam;
|
ParentMeasure* parent = (ParentMeasure*)pParam;
|
||||||
|
|
||||||
EnterCriticalSection(&g_CriticalSection);
|
EnterCriticalSection(&g_CriticalSection);
|
||||||
@ -896,6 +898,8 @@ unsigned __stdcall SystemThreadProc(void* pParam)
|
|||||||
}
|
}
|
||||||
|
|
||||||
delete tmp;
|
delete tmp;
|
||||||
|
|
||||||
|
CoUninitialize();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user