mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Complete dequeue even if web view fails to initialize
This commit is contained in:
parent
526fe71cf1
commit
f138908e43
@ -115,8 +115,8 @@ class WebViewProviderDequeueOperation: MainThreadOperation {
|
||||
queue.removeLastObject()
|
||||
webView.ready { preloadedWebView in
|
||||
self.completion(preloadedWebView)
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
}
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
return
|
||||
}
|
||||
|
||||
@ -126,8 +126,8 @@ class WebViewProviderDequeueOperation: MainThreadOperation {
|
||||
webView.preload()
|
||||
webView.ready { preloadedWebView in
|
||||
self.completion(preloadedWebView)
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
}
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user