UGameViewportClient::WindowCloseRequested

Called when the top level window associated with the viewport has been requested to close.