mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +00:00
parent
957ecd7231
commit
c38b2928ec
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ void ArchiveSlice::set_async_mode(bool mode, td::Promise<td::Unit> promise) {
|
|||
ig.add_promise(std::move(promise));
|
||||
|
||||
for (auto &p : packages_) {
|
||||
td::actor::send_closure(p.writer, &PackageWriter::set_async_mode, mode, std::move(promise));
|
||||
td::actor::send_closure(p.writer, &PackageWriter::set_async_mode, mode, ig.get_promise());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue