HPCC-20330 Stop aggregate stream to avoid potential deadlock Reviewed-By: Mark Kelly <mark.kelly@lexisnexis.com> Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@@ -4134,7 +4134,11 @@ public:
ActPrintLog("HASHAGGREGATE: stopping");
if (localAggTable)
localAggTable->reset();
- aggregateStream.clear();
+ if (aggregateStream)
+ {
+ aggregateStream->stop();
+ aggregateStream.clear();
+ }
PARENT::stop();
}
virtual void abort() override