mirror of
https://github.com/monero-project/monero.git
synced 2025-12-09 08:31:28 +09: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.