apache / datasketches-cpp

Core C++ Sketch Library
https://datasketches.apache.org
Apache License 2.0
213 stars 70 forks source link

register cpc teardown functions for std::atexit #412

Closed jmalkin closed 6 months ago

jmalkin commented 6 months ago

std::atexit() is apparently considered a legacy C thing since C++ should ideally be able to use static objects. Regardless, this worked to clean up: When I tested in valgrind we finally had a clean report for CPC for the first time ever.

github-actions[bot] commented 6 months ago

Pull Request Test Coverage Report for Build 7282853175


Totals Coverage Status
Change from base Build 7205830121: 0.001%
Covered Lines: 16039
Relevant Lines: 16211

💛 - Coveralls