You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Process seems to exit after killing the xserver even though the thread running tao instance is terminated, not sure if this is expected but it seems like this shouldn't be the case.. I might also just be overlooking something here..
If I comment out the tao stuff and leave the xephyr child process stuff the loop continues and if I stop tao and never stop the xserver the loop keeps running...
Not sure what actually causes the entire process to terminate, will keep looking and update if I spot anything
Steps To Reproduce
Will need Xephyr installed but will also work with Xvfb.
Okay from what I can see, when I do this *control_flow = tao::event_loop::ControlFlow::Exit; and then call join() on the JoinHandle the window still remains visible in the xserver and only goes away when the entire process terminates.
I'm guessing this is why the documentation recommends using run() instead of run_return() as it calls process::exit() in order to clear everything up.
A bit of a pain if this can't be resolved but I'm early enough in the project and have an idea to re-architect things to work around this limitation
Describe the bug
Process seems to exit after killing the xserver even though the thread running tao instance is terminated, not sure if this is expected but it seems like this shouldn't be the case.. I might also just be overlooking something here..
If I comment out the tao stuff and leave the xephyr child process stuff the loop continues and if I stop tao and never stop the xserver the loop keeps running...
Not sure what actually causes the entire process to terminate, will keep looking and update if I spot anything
Steps To Reproduce
Will need Xephyr installed but will also work with Xvfb.
Expected behavior
The loop in main should continue even after the xserver is killed
Platform and Versions (please complete the following information):
OS: Arch Linux x86_64 Linux 6.12.8-arch1-1
Rustc: 1.82.0
The text was updated successfully, but these errors were encountered: