I’m creating some FAutoDeleteAsyncTasks inside an actor to be used in the editor only (Not runtime). My assumption is that these tasks will do as they say, just delete themselves when they complete whether the actor they were created in has been deleted or not.
I’m passing in a callback function to the constructor of the task and then in the destructor of the task I’m calling Execute if the callback delegate IsBound equals true.
if (Callback.IsBound()) Callback.Execute(result);
Just wanted to run it past some of you more experienced than me.