diff options
author | George Hazan <ghazan@miranda.im> | 2022-02-21 20:08:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-02-21 20:08:19 +0300 |
commit | 447334def7efa0eafe421cf12ad7490b35f775bc (patch) | |
tree | dee845b4d4812970b9d0105cd1f299f992ad0d3a /plugins/AVS/src/cache.cpp | |
parent | b107dc2d3a5b7119aedbb3a28bb6c7d3ea177bf8 (diff) |
fixes #3025 (occasional crash in AVS)
Diffstat (limited to 'plugins/AVS/src/cache.cpp')
-rw-r--r-- | plugins/AVS/src/cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp index 7a38993f06..c60c8cd05b 100644 --- a/plugins/AVS/src/cache.cpp +++ b/plugins/AVS/src/cache.cpp @@ -223,6 +223,7 @@ int SetAvatarAttribute(MCONTACT hContact, uint32_t attrib, int mode) void PicLoader(LPVOID)
{
Thread_SetName("AVS: PicLoader");
+ MThreadLock threadLock(hLoaderThread);
uint32_t dwDelay = g_plugin.getDword("picloader_sleeptime", 80);
|