/Engine/Source/Developer/TraceInsights/Public/Insights/IUnrealInsightsModule.h
Called by the TraceInsights module when it receives the OnWindowClosedEvent. Can be used to close any panels that should not persist in the layout.
virtual void OnWindowClosedEvent()