mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Fix: Main thread can reallocate data of worker threads
This commit is contained in:
@@ -204,7 +204,7 @@ private:
|
||||
JobPool jobPool;
|
||||
std::mutex printLock; // For verbose prints.
|
||||
|
||||
std::vector<std::vector<TItem>> containers;
|
||||
std::list<std::vector<TItem>> containers;
|
||||
|
||||
size_t stepSize = 100; // Handpicked, seems to work well with 4/8 cores.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user