Closed probonopd closed 7 years ago
Umm how?!
also keep in mind akonadi needs to run in the background to continuously check for email etc. Not sure how to solve this really.
In the AppRun bash script, after executing KMail (which blocks during execution), kill all child processes of the AppRun bash script. Once the AppImage is closed (unmounted) of course no more mail checking in the background is going on, just like one would expect.
Sorry, not sure I know how to accomplish killing all child processes. Hints?
I think I can try something like this.. https://coderwall.com/p/q-ovnw/killing-all-child-processes-in-a-shell-script
I think sorting out https://github.com/appimage-packages/kmail/issues/10 will fix this issue. ( we will create an akonadi instance for the kmail launch which we can then easily stop and not touch any host akonadi instances. )
Fixed
Need to kill all of those...
Otherwise the AppImage does not unmount.
The AppRun script could kill those.