There are a number of singletons in qTox, which make dependency analysis (for humans) a bit harder. Functions should generally depend only on their parameters (including this) for mutable state. We should avoid global mutable state referenced from all over the place.
Nexus -- one love
The Planâ„¢ 2.0
https://github.com/qTox/qTox/pull/6216 removes the Core singleton.
Most helpful comment
https://github.com/qTox/qTox/pull/6216 removes the
Coresingleton.