2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Ensure notification manager is not null before first call to setManager in cross-platform code

This commit is contained in:
Ilya Fedin
2022-07-26 06:54:18 +04:00
committed by John Preston
parent 6718d238af
commit 9b8dcec26e
3 changed files with 12 additions and 25 deletions

View File

@@ -85,7 +85,7 @@ public:
void createManager();
void setManager(std::unique_ptr<Manager> manager);
[[nodiscard]] std::optional<ManagerType> managerType() const;
[[nodiscard]] ManagerType managerType() const;
void checkDelayed();
void schedule(ItemNotification notification);