mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Attempt to fix a strange crash on Linux.
This commit is contained in:
@@ -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();
|
return _scrollToRequests.events();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~PeerListContent();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int resizeGetHeight(int newWidth) override;
|
int resizeGetHeight(int newWidth) override;
|
||||||
void visibleTopBottomUpdated(
|
void visibleTopBottomUpdated(
|
||||||
|
Reference in New Issue
Block a user