ソースを参照

HPCC-12361 Assert error (hashtable not empty) from new statistics

Missing a releaseAll(), it seems.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 年 前
コミット
f803ca1018
1 ファイル変更1 行追加0 行削除
  1. 1 0
      system/jlib/jstats.cpp

+ 1 - 0
system/jlib/jstats.cpp

@@ -956,6 +956,7 @@ typedef StructArrayOf<Statistic> StatsArray;
 class CollectionHashTable : public SuperHashTableOf<CStatisticCollection, StatsScopeId>
 {
 public:
+    ~CollectionHashTable() { releaseAll(); }
     virtual void     onAdd(void *et);
     virtual void     onRemove(void *et);
     virtual unsigned getHashFromElement(const void *et) const;