/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Delegate called when a window is about to be destroyed
class FOnWindowBeingDestroyed : public TBaseMulticastDelegate_OneParam< void, const SWindow & >