Skip to content

Commit

Permalink
🔥 Remove methods from webview when dispose.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Feb 17, 2020
1 parent 5401ce3 commit 89c339a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/widgets/webview/in_app_webview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ class _InAppBrowserPageState extends State<InAppBrowserPage> with AutomaticKeepA
@override
void dispose() {
SystemChannels.textInput.invokeMethod('TextInput.hide');
_webViewController
?.stopLoading()
?.catchError((e) => debugPrint('Error while trying to stop loading webview: $e'));
super.dispose();
}

Expand Down

0 comments on commit 89c339a

Please sign in to comment.