Break off writing metadata when the app terminates. Use OSAtomic function to set flag and volatile aligned ivar for thread safety. 
Break off writing metadata when the app terminates. Use OSAtomic function to set flag and volatile aligned ivar for thread safety. 

git-svn-id: cb3fc60f0f557b927b8032d8a94e869b6f9f230b@687 0fceea05-a30d-0410-8a8b-80ef821fb0a1

jasongrout/skim,jasongrout/skim,camillobruni/skim,camillobruni/skim,camillobruni/skim,camillobruni/skim