mirror of
https://github.com/monero-project/monero.git
synced 2025-03-09 18:49:38 -04:00

Turns out getting the global shared_ptr hits the profile, and passing it around still keeps it at close to ~1% CPU, which is too much for mostly silent logging. Leak the object instead, which is even safer for late logging.