Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate

This commit is contained in:
Brent Simmons 2020-02-08 17:22:03 -08:00
commit eb770f4494
1 changed files with 4 additions and 1 deletions

View File

@ -437,7 +437,10 @@ private extension WebViewController {
webView.configuration.userContentController.add(WrapperScriptMessageHandler(self), name: MessageName.imageWasShown)
self.renderPage()
self.recycleWebView(webViewToRecycle)
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.recycleWebView(webViewToRecycle)
}
}