mirror of
https://github.com/monero-project/monero.git
synced 2026-01-16 17:42:58 +01: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.