mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-27 06:46:52 +00:00
Remove assertionFailure that had an incorrect assumption.
This commit is contained in:
1 parent
a27a70e9fb
commit
7847a8b796
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user