Преглед изворни кода

Merge pull request #10380 from ghalliday/issue18225

HPCC-18225 CSlaveDynamicFileCache::releaseAll() needs to acquire cs

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman пре 7 година
родитељ
комит
f4a994fdc4
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      roxie/ccd/ccdfile.cpp

+ 1 - 0
roxie/ccd/ccdfile.cpp

@@ -2469,6 +2469,7 @@ public:
 
 
     virtual void releaseAll() override
     virtual void releaseAll() override
     {
     {
+        CriticalBlock b(crit);
         files.kill();
         files.kill();
     }
     }
 };
 };