StylishVisualizer icon indicating copy to clipboard operation
StylishVisualizer copied to clipboard

Random crashes, maybe due to multiple threads accessing same memory?

Open CosminPerRam opened this issue 1 year ago • 0 comments

Sometimes the visualizer just randomly crashes, I didn't had the time to properly debug it but I'm pretty sure that happens because we are accessing the same memory withing multiple threads (e.g. when sorting is running and we are doing something that manipulates the sorting data), if this is the problem, it could be fixed with mutexes, but I think that'll for sure take a hit on the sorting speed performance.

CosminPerRam avatar Jun 22 '24 00:06 CosminPerRam