Files
UnrealEngineUWP/Engine/Source/Editor/EditorFramework
jamie dale 4088d266a9 Added support for deferred typed element destruction
This defers the actual destruction of the element until the end of the frame (or until UTypedElementRegistry::ProcessDeferredElementsToDestroy is called), or until GC runs (unless auto-GC destruction has been disabled).

This avoids firing the assert about dangling references that can be caused by transient typed elements lingering on the stack during an operation that leads to a typed element being destroyed.

#rb Brooke.Hubert, Chris.Gagnon
#rnx

#ROBOMERGE-SOURCE: CL 15371449 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15371457 by jamie dale in ue5-main branch]
2021-02-09 18:25:54 -04:00
..