/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h
Slate strictly controls when windows are destroyed.
void RequestDestroyWindow ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWindow](API\Runtime\SlateCore\Widgets\SWindow) > WindowToDestroy )