phosit
f5b416c63b
Don't execute the task when no Future awaits it anymore
...
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.
2024-06-25 19:03:01 +00:00
..
2023-12-03 00:30:12 +00:00
2024-05-22 15:52:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-05-22 15:52:12 +00:00
2023-12-04 20:23:37 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-06-25 19:03:01 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-06-10 19:31:41 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-06-10 19:31:41 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-01-17 19:40:27 +00:00
2024-01-17 19:40:27 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-01-17 19:40:27 +00:00
2024-01-17 19:40:27 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-01-21 14:29:30 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-06-25 19:03:01 +00:00
2023-12-17 09:43:54 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00