mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-18 06:13:55 -07:00
Summary: Most of the times the callback stores a reference to a variable in scope where the `Future` is in. When the scope is left the reference get's dangling. `CancelOrWait` is called in multiple places (mostly destructors) to ensure the callback isn't executed anymore. This patch deduplicates thous calls to `CancelOrWait`. Refs: #5874 Comments by: @Stan, @vladislavbelov Differential Revision: https://code.wildfiregames.com/D5208 This was SVN commit r28128. |
||
|---|---|---|
| .. | ||
| components | ||
| docs | ||
| helpers | ||
| scripting | ||
| serialization | ||
| system | ||
| tests | ||
| MessageTypes.h | ||
| Simulation2.cpp | ||
| Simulation2.h | ||
| TypeList.h | ||