Details
-
Improvement
-
Status: Resolved
-
Not specified
-
Resolution: Fixed
-
None
-
None
Description
template <class INTERFACE> void mergeStats(CRuntimeStatisticCollection & stats, Shared<INTERFACE> source, const StatisticsMapping & mapping) { mergeStats(stats, source.get(), mapping); }
This is causing a generally harmless but inefficient copy ctor to be called, which caused a link and release to be called on the shared object.
Should be changed to a const reference.
Attachments
Issue Links
- relates to
-
HPCC-27607 Obscure crash (memory corruption) in local sort whilst serializing stats.
-
- Resolved
-