/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h
A delegate called when the viewports top level window is being closed
void OnWindowClosed ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWindow](API\Runtime\SlateCore\Widgets\SWindow) > & InWindowBeingClosed )