pazusoba / core

Try to solve Puzzle & Dragons with C++
MIT License
15 stars 1 forks source link

unordered_map crashes on Windows #52

Closed HenryQuan closed 2 years ago

HenryQuan commented 2 years ago

The reason is unknown, pazusoba crashes if the map is over a certain size. This is introduced after switching back to std::Thread.

HenryQuan commented 2 years ago

This might be due to having 42 maps in an array. I need to update hash to do it properly instead.

HenryQuan commented 2 years ago

fixed in 3df4e8b

HenryQuan commented 2 years ago

The main cause was the index, not the map itself. I fell into this trap of thinking map wasn't working. I should love removed the map first and see the true cause.