mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
This commit is contained in:
@@ -121,7 +121,8 @@ public:
|
||||
-> const base::flat_set<not_null<Window::SessionController*>> &;
|
||||
|
||||
// Shortcuts.
|
||||
[[nodiscard]] base::Observable<void> &downloaderTaskFinished();
|
||||
void notifyDownloaderTaskFinished();
|
||||
[[nodiscard]] rpl::producer<> downloaderTaskFinished() const;
|
||||
[[nodiscard]] MTP::DcId mainDcId() const;
|
||||
[[nodiscard]] MTP::Instance &mtp() const;
|
||||
[[nodiscard]] const MTP::ConfigFields &serverConfig() const;
|
||||
|
Reference in New Issue
Block a user