Closed ivan-mogilko closed 8 months ago
ok tested the web port and it seems it's all good. (I remembered https://github.com/libsdl-org/SDL/issues/6344, which is why I was worried, but turns out the mutex used here doesn't crash things and everything works fine).
I am not sure how to test this besides trying a bunch of games and seeing that it still works - btw I did that and all things worked afaict.
Resolves #2339
This does a number of changes to DebugManager, with a purpose to make its interface simpler, and thus easier to safeguard its innards when logging from multiple threads. Adds a mutex to protect public methods.