diff --git a/DuckDuckGo/Tab/Model/Tab+UIDelegate.swift b/DuckDuckGo/Tab/Model/Tab+UIDelegate.swift index 482d8b71f1..3de0df0c9b 100644 --- a/DuckDuckGo/Tab/Model/Tab+UIDelegate.swift +++ b/DuckDuckGo/Tab/Model/Tab+UIDelegate.swift @@ -348,7 +348,9 @@ extension Tab: WKUIDelegate, PrintingUserScriptDelegate { return } - self.runPrintOperation(printOperation) + self.runPrintOperation(printOperation) { _ in + try? FileManager.default.removeItem(at: url) + } } saveWebContent(pdfHUD: pdfHUD, location: .temporary) return