As you can see, lambda does some operations with properties and methods in this object (which is scope-captured by β=β). Will this crash, if e.g. this (AActor in which this code is written) is destroyed after setting timer on the last line of this code, but before timer fires?
Iβve managed to avoid crashes by explicitly making a TWeakObjectPtr of βthisβ and capturing that ptr in the lambda scope (by value). Inside lambda I check if that weakPtr.isValid() and have not faced any crashes so far.
Pls lemme know if that works for u.