From b546370e875b553b18c9595c1bc6e4feec772c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Sun, 18 Jan 2026 18:50:22 +0100 Subject: [PATCH] Clean up after closing app --- QuickDrop/AppDelegate.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QuickDrop/AppDelegate.swift b/QuickDrop/AppDelegate.swift index 91db1c9..15d241b 100644 --- a/QuickDrop/AppDelegate.swift +++ b/QuickDrop/AppDelegate.swift @@ -183,6 +183,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele func applicationWillTerminate(_: Notification) { UNUserNotificationCenter.current().removeAllDeliveredNotifications() + NearbyConnectionManager.shared.stopDeviceDiscovery() + NearbyConnectionManager.shared.becomeInvisible() }