1
1
forked from 0ad/0ad
0ad/source/ps/tests
wraitii a333c8f355 Use Future::CancelOrWait in pathfinder Deinit
If the pathfinding tasks are running, they might reference now-deleted
variables. CancelOrWait prevents this.
Remove `Future::Cancel()` altogether as that was its only use and the
functions seems dangerous.

Introduced with 0ebc08b13c

Patch by: phosit
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D4831
This was SVN commit r27310.
2022-12-28 11:34:04 +00:00
..
stub_impl_hack.h Removes unused g_GameRestarted forgotten in 7ce4552f5e. 2021-09-01 19:48:09 +00:00
test_CLogger.h Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +00:00
test_ConfigDB.h De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
test_CStr.h Workaround differences between libc and libstd string stream parsing of float/doubles. 2019-09-15 12:02:26 +00:00
test_fmt.h Use a more common locale, en_US.UTF-8 is not always present. 2020-11-30 13:59:05 +00:00
test_Future.h Use Future::CancelOrWait in pathfinder Deinit 2022-12-28 11:34:04 +00:00
test_Hashing.h Fixes PCH after 7bfcd9f78b. 2021-05-20 11:47:56 +00:00
test_Hotkeys.h De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
test_Mod.h Fix pathname not matching name incompatible mod detection 2021-10-28 20:33:01 +00:00
test_ModIo.h Add "Invalid signature" reason to modio 2021-12-25 19:31:51 +00:00
test_TaskManager.h Implement a global task manager using a pool of worker threads 2021-06-03 14:48:38 +00:00
test_test.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00