File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
webview_flutter/tizen/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ class DatabaseManager {
27
27
: path_(path),
28
28
database_id_ (database_id),
29
29
single_instance_(single_instance),
30
- log_level_(log_level){};
30
+ log_level_(log_level),
31
+ database_(nullptr ){};
31
32
virtual ~DatabaseManager ();
32
33
33
34
inline const std::string path () { return path_; };
Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ void WebView::InitWebView() {
831
831
void WebView::HandleMethodCall (
832
832
const flutter::MethodCall<flutter::EncodableValue>& method_call,
833
833
std::unique_ptr<flutter::MethodResult<flutter::EncodableValue>> result) {
834
- if (!webview_instance_) {
834
+ if (!webview_instance_ || !method_call. arguments () ) {
835
835
return ;
836
836
}
837
837
const auto method_name = method_call.method_name ();
You can’t perform that action at this time.
0 commit comments