mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix crash in RpWidget::event() from alive().done()
This commit is contained in:
parent
5913e6d187
commit
98896ab5ac
1 changed files with 5 additions and 0 deletions
|
@ -147,6 +147,11 @@ public:
|
|||
visibilityChangedHook(wasVisible, !this->isHidden());
|
||||
}
|
||||
|
||||
~RpWidgetWrap() {
|
||||
base::take(_lifetime);
|
||||
base::take(_eventStreams);
|
||||
}
|
||||
|
||||
protected:
|
||||
bool event(QEvent *event) final override {
|
||||
return handleEvent(event);
|
||||
|
|
Loading…
Add table
Reference in a new issue