Fix possible crash in Dialogs::Widget.

This commit is contained in:
John Preston 2020-06-30 18:34:37 +04:00
parent c15019dee6
commit 47c8b852b8

View file

@ -1779,6 +1779,8 @@ void Widget::onDialogMoved(int movedFrom, int movedTo) {
}
}
Widget::~Widget() = default;
Widget::~Widget() {
cancelSearchRequest();
}
} // namespace Dialogs