fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS
This commit is contained in:
parent
f06bcdf695
commit
42743f23eb
|
@ -21,6 +21,10 @@ public class HeadlessInAppWebView : FlutterMethodCallDelegate {
|
|||
self.channel?.setMethodCallHandler(self.handle)
|
||||
}
|
||||
|
||||
deinit {
|
||||
dispose()
|
||||
}
|
||||
|
||||
public override func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
|
||||
let arguments = call.arguments as? NSDictionary
|
||||
|
||||
|
|
Loading…
Reference in New Issue