Allow callers to pump a root widget with no child (#75576)
This can be useful for offscreen widget trees, where the caller wants to completely tear down the tree (properly clean up) when they're done with the tree, to ensure they're not leaving behind any event listeners that could be registered by child elements (which could lead to memory leaks and unexpected behavior).
T
Todd Volkert committed
235927d58880317f473f2be22661fea31cb67cea
Parent: 8e87408
Committed by GitHub <noreply@github.com>
on 2/11/2021, 12:03:27 AM