Bug 331719: Prevent crash if restoration fails and kalarm restarts
If session restoration had nothing to restore, the application exits. If it is started separately before exit is complete, it crashed because the calendars and other data had been tidied up/closed, but not re-opened. This reinitialises necessary data in this circumstance.
Showing with 45 additions and 10 deletions