/Engine/Source/Developer/ToolMenus/Public/ToolMenus.h
Release references to UObjects of widgets that have been deleted. Combines multiple requests in one frame together for improved performance.
void CleanupStaleWidgetsNextTick ( bool bGarbageCollect )