I noticed we are observing NSApplicationWillTerminateNotification in a few places, so that we can invoke saveStateToPreferences or _saveStateToPreferences / reset (to unload parsers) However, from some debugging I just had to do, it seems that if you have sudden termination enabled on your application, this notification will NOT get called.