It's recommended to call stop() explicitly when done with the AutoCollector.
AutoCollector.~this
~this
()Cleanup on destruction.
Note
This destructor is defensive to avoid segfaults during GC collection.
()Cleanup on destruction.
It's recommended to call stop() explicitly when done with the AutoCollector.