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: The Social Sciences: I hope you can see where my general frustration with social science comes from! (posted 2024-10-25 at 12:18:53). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-08-22 Stirring Up Trouble: Let's just get every view out there and fairly debate them..