mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Check whether webview is destructed after Webview::Window::init
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user