There are many instances of global data being used for computations in toxcore. Most of them can cause undefined behaviour when two tox instances run in parallel. We should avoid this and change all of them to use local per-instance state.
¹ Except maybe one.
There are many instances of global data being used for computations in toxcore. Most of them can cause undefined behaviour when two tox instances run in parallel. We should avoid this and change all of them to use local per-instance state.
¹ Except maybe one.