/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h
Called when a window is destroyed to give the renderer a chance to free resources
void OnWindowDestroyed ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWindow](API\Runtime\SlateCore\Widgets\SWindow) > & InWindow )