mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-28 09:32:56 +00:00
Attempt to fix a strange crash on Linux.
This commit is contained in:
parent
b198c9b975
commit
2878e46d2b
@ -1564,3 +1564,9 @@ void PeerListContent::handleNameChanged(const Notify::PeerUpdate &update) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PeerListContent::~PeerListContent() {
|
||||
if (_contextMenu) {
|
||||
_contextMenu->setDestroyedCallback(nullptr);
|
||||
}
|
||||
}
|
||||
|
@ -484,6 +484,8 @@ public:
|
||||
return _scrollToRequests.events();
|
||||
}
|
||||
|
||||
~PeerListContent();
|
||||
|
||||
protected:
|
||||
int resizeGetHeight(int newWidth) override;
|
||||
void visibleTopBottomUpdated(
|
||||
|
Loading…
Reference in New Issue
Block a user