/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h
Called on the game thread right before the slate window handle is destroyed. This gives users a chance to release any viewport specific resources they may have active when the window is destroyed
typedef TMulticastDelegate_OneParam< void, void * > FOnSlateWindowDestroyed