This is an annoying behaviour, when quitting Photoshop it would unexpectedly quit (sounds odd, I know, but I prefer "expected" quits!) While this is annoying, there is no harm done if all documents were saved and closed first. If the following Plug-in is removed, the unexpectedly quit problem does not happen.
Note 1: This means open the "Applications" folder, then the "Adobe Photoshop CS5" folder, then the "Plug-ins" folder, then the "Extensions" folder, then find the file "ScriptingSupport.plugin", and delete it.
Note 2: If you require scripting support do not delete this, but you will have to put up with the unexpected quits. If you are unsure, move the file to another location, instead of deleting it, then you can put it back if required.
I usually write a blog post about once a week. The latest post can be viewed here: We Need Trump and Musk: I wonder if Trump and Musk might like to visit here after they have finished sorting out America! (posted 2025-02-11 at 11:40:37). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2025-01-30 Pragmatic Libertarianism: Freedom is important. Maybe it's all that really matters..