Skip to content

Remove all¹ uses of global state in toxcore #405

@iphydf

Description

@iphydf

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.

Metadata

Metadata

Assignees

Labels

P2Medium priority

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions