multipass
multipass copied to clipboard
Stopping operation blocks daemon
Similar to #1036, the stopping operation can block the daemon as well.
Hey @ricab,
Same here, I believe the stopping stuff you are working should address this too, right?
Hey @townsend2010. Hmm, sort of. My current goal is to make it possible to serve info
in parallel to stop
. Running info
in a dedicated thread is one way to achieve that, in which case stop
is still not parallel to the remaining operations. The same approach could also be extended to list
. I could instead run stop
in a separate thread, but I had trouble with that as we discussed. I can try to revisit.
Ok, I do know that stopping an instance can sometimes take a while, so I'm concerned if that happens, then the GUI would become unresponsive since the daemon would be blocking because the stop runs in the main thread. We can revisit this later, but I'll leave you assigned for the time being.
Right, I will see what I can do.
Thank you @ricab!