From 7847a8b796b9afe4b995427e5405c4a323f4c5e8 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 1 Feb 2025 17:55:37 -0800 Subject: [PATCH] Remove assertionFailure that had an incorrect assumption. --- iOS/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index 5fdfbdc74..aa72025a7 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -297,7 +297,7 @@ private extension AppDelegate { assert(Thread.isMainThread) guard let window = self.window else { - assertionFailure("Expected window.") + // Could be nil legitimately — this can get called before window is set up. return }