In testing bug 1672012 I found that I get miral-shell into a state where it hangs on exit. What I know so far:
The "decorations" internal client thread is hanging in mir_connection_release().
The Mir "main loop" is hung in a pre-shutdown hook that joins the internal client threads.
To reproduce:
$ miral-app $ miral-xrun vlc
(Takes some time to start)
Right click on vlc, the menu shows for a split second and closes
Alt-F4 to exit vlc, Alt-F4 exit terminal
In testing bug 1672012 I found that I get miral-shell into a state where it hangs on exit. What I know so far:
The "decorations" internal client thread is hanging in mir_connection_ release( ).
The Mir "main loop" is hung in a pre-shutdown hook that joins the internal client threads.
To reproduce:
$ miral-app
$ miral-xrun vlc
(Takes some time to start)
Right click on vlc, the menu shows for a split second and closes
Alt-F4 to exit vlc, Alt-F4 exit terminal