diff --git a/Multiplatform/Shared/Article/WebViewProvider.swift b/Multiplatform/Shared/Article/WebViewProvider.swift index 9991be62e..0eff3cd4f 100644 --- a/Multiplatform/Shared/Article/WebViewProvider.swift +++ b/Multiplatform/Shared/Article/WebViewProvider.swift @@ -88,8 +88,8 @@ class WebViewProviderDequeueOperation: MainThreadOperation { if let webView = queue.lastObject as? PreloadedWebView { webView.ready { preloadedWebView in self.completion(preloadedWebView) - self.queue.remove(webView) } + self.queue.remove(webView) self.operationDelegate?.operationDidComplete(self) return } diff --git a/iOS/Article/WebViewProvider.swift b/iOS/Article/WebViewProvider.swift index 151f84a93..50c6e2780 100644 --- a/iOS/Article/WebViewProvider.swift +++ b/iOS/Article/WebViewProvider.swift @@ -88,8 +88,8 @@ class WebViewProviderDequeueOperation: MainThreadOperation { if let webView = queue.lastObject as? PreloadedWebView { webView.ready { preloadedWebView in self.completion(preloadedWebView) - self.queue.remove(webView) } + self.queue.remove(webView) self.operationDelegate?.operationDidComplete(self) return }