fix: app termination

Finish lrc when app terminating

Change-Id: I50a7e0c9d5ff418fecb81e3060b9f3221fba80d6
diff --git a/src/AppDelegate.mm b/src/AppDelegate.mm
index db493d8..b1ba91c 100644
--- a/src/AppDelegate.mm
+++ b/src/AppDelegate.mm
@@ -405,7 +405,7 @@
     }
     [self.wizard close];
     [self.ringWindowController close];
-    [[NSApplication sharedApplication] terminate:self];
+    lrc.reset();
 }
 
 #if ENABLE_SPARKLE