mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix crash in session destruction.
Also use rpl::event_stream for downloaderTaskFinished.
This commit is contained in:
@@ -181,7 +181,11 @@ Storage::Domain &Session::domainLocal() const {
|
||||
return _account->domainLocal();
|
||||
}
|
||||
|
||||
base::Observable<void> &Session::downloaderTaskFinished() {
|
||||
void Session::notifyDownloaderTaskFinished() {
|
||||
downloader().notifyTaskFinished();
|
||||
}
|
||||
|
||||
rpl::producer<> Session::downloaderTaskFinished() const {
|
||||
return downloader().taskFinished();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user