2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix possible crash in main window destructor.

In platform window destructor it can send window state change signal.
This commit is contained in:
John Preston
2022-08-12 16:21:52 +03:00
parent 76a482317d
commit 228a48c8bf
2 changed files with 3 additions and 3 deletions

View File

@@ -138,10 +138,10 @@ private:
PeerData *_singlePeer = nullptr;
Main::Account *_account = nullptr;
base::Timer _isActiveTimer;
::MainWindow _widget;
const std::unique_ptr<Adaptive> _adaptive;
std::unique_ptr<SessionController> _sessionController;
base::Timer _isActiveTimer;
QPointer<Ui::BoxContent> _termsBox;
rpl::event_stream<Media::View::OpenRequest> _openInMediaViewRequests;