JavaFXpert / vqe-playground

Playground for gaining intuition about Variational Quantum Eigensolver
Other
16 stars 7 forks source link

leftover processes #5

Open haraldschilly opened 5 years ago

haraldschilly commented 5 years ago

I've found a small issue regarding cleaning up processes. There seems to be "something still active" when the vqe-playground application is terminated. Maybe a hook is missing, such that the UI threads learns that it has to stop? I'm not sure. It happens when the application is terminated, and in cocalc after a couple of starts and terminates, the process tree contains a couple of them:

Screenshot from 2019-04-27 11-51-39

JavaFXpert commented 5 years ago

I'll check into it, Harald. I'll test with the latest version of PyGame, which is 1.9.6. Can CoCalc run that version as well please?

JavaFXpert commented 5 years ago

I pushed a version that quits the app more aggressively when user closes the app window. Can you please try it?