If you use the trace list context menu to view a flame graph (Scripts-> Create flame graph) then the flame graph viewer may end up starting as a child process of the Python script, which means that UIforETW ends up hung until you close the viewer. The viewer process should be explicitly disconnected.
This happened when using IE as an SVG viewer. It probably depends on whether or not IE was previously active.
If you use the trace list context menu to view a flame graph (Scripts-> Create flame graph) then the flame graph viewer may end up starting as a child process of the Python script, which means that UIforETW ends up hung until you close the viewer. The viewer process should be explicitly disconnected.
This happened when using IE as an SVG viewer. It probably depends on whether or not IE was previously active.