diff --git a/ios/Classes/SwiftFlutterHtmlToPdfPlugin.swift b/ios/Classes/SwiftFlutterHtmlToPdfPlugin.swift
index 299e255..b9d51d2 100644
--- a/ios/Classes/SwiftFlutterHtmlToPdfPlugin.swift
+++ b/ios/Classes/SwiftFlutterHtmlToPdfPlugin.swift
@@ -47,6 +47,7 @@ public class SwiftFlutterHtmlToPdfPlugin: NSObject, FlutterPlugin{
}
// dispose WKWebView
+ self.urlObservation = nil
self.wkWebView = nil
result(convertedFilePath)
}