mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Attempt to fix a strange crash on Linux.
This commit is contained in:
parent
b198c9b975
commit
2878e46d2b
2 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue