Whenever we launch Photoshop from SG Desktop, do some work, then quit, there is always a leftover Python process that continues to run and fails to shut down. It looks like it’s the Adobe Framework which doesn’t shut down properly.
This happens when using our customized configs as well as the vanilla tk-config-default2
with no modifications.
Does anyone else experience this?
After I save a file with Work Files and quit Photoshop, I’m left with this process which you can see here:
And I can see clearly that the 3rd result below shows the Adobe Framework is still running.
❯ ps -ef | grep python next|…2
503 3103 2649 0 3:36PM ?? 0:00.13 /Applications/Box.app/Contents/MacOS/python -B -c from multiprocessing.resource_tracker import main;main(29)
503 5788 671 0 4:13PM ?? 0:06.64 /Applications/Shotgun.app/Contents/Resources/Python3/bin/python /Users/kp/Library/Caches/Shotgun/bundle_cache/app_store/tk-desktop/v2.6.9/bootstrap.py -d /var/folders/vd/xk3ys_h55gb42vs3hv8pw9540000gq/T/tmp_svy0bf2.pkl -u /Users/kp/Library/Caches/Shotgun/bundle_cache/app_store/tk-desktop/v2.6.9/python/utils/bootstrap_utilities.py
503 5845 1 0 4:14PM ?? 0:10.26 /Applications/Shotgun.app/Contents/Resources/Python3/bin/python /Users/kp/Library/Caches/Shotgun/bundle_cache/app_store/tk-framework-adobe/v1.1.9/python/tk_framework_adobe_utils/plugin_bootstrap.py 60604 tk-photoshopcc PHXS
503 5910 836 0 4:15PM ttys000 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox python
So I always have to do a kill
to get it to go away. Subsequent launches spawn a new instance of the framework and a new orphan process when I quit Photoshop again.
Looking for confirmation I’m not the only one. And/or a solution if anyone has one already. Thanks!