Allow topic deletion.

This commit is contained in:
John Preston
2022-10-19 14:59:37 +04:00
parent adaa1d0c55
commit 7cdf20a7c5
43 changed files with 144 additions and 64 deletions
@@ -49,7 +49,7 @@ auto LottieCachedFromContent(
key,
std::move(handler));
};
const auto weak = base::make_weak(session.get());
const auto weak = base::make_weak(session);
const auto put = [=](QByteArray &&cached) {
crl::on_main(weak, [=, data = std::move(cached)]() mutable {
weak->data().cacheBigFile().put(key, std::move(data));