mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Do not remove the view from the queue until it has navigated
This commit is contained in:
@@ -112,8 +112,8 @@ class WebViewProviderDequeueOperation: MainThreadOperation {
|
||||
|
||||
func run() {
|
||||
if let webView = queue.lastObject as? PreloadedWebView {
|
||||
queue.removeLastObject()
|
||||
webView.ready { preloadedWebView in
|
||||
self.queue.removeLastObject()
|
||||
self.completion(preloadedWebView)
|
||||
}
|
||||
self.operationDelegate?.operationDidComplete(self)
|
||||
|
||||
Reference in New Issue
Block a user