Check whether webview is destructed after Webview::Window::init
This commit is contained in:
parent
2f0b50cb37
commit
bb3f8fbbe8
|
@ -619,6 +619,10 @@ postEvent: function(eventType, eventData) {
|
|||
}
|
||||
};)");
|
||||
|
||||
if (!_webview) {
|
||||
return false;
|
||||
}
|
||||
|
||||
setupProgressGeometry();
|
||||
|
||||
return true;
|
||||
|
|
|
@ -703,6 +703,10 @@ postEvent: function(eventType, eventData) {
|
|||
}
|
||||
};)");
|
||||
|
||||
if (!_webview) {
|
||||
return false;
|
||||
}
|
||||
|
||||
setupProgressGeometry();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue