Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 937c77ae authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Actually call method after binding am: 9d0b53f6 am: c138bd9a

Change-Id: I5f2287150405ad96a5ccb8c91eaadae5670e7668
parents 3ca5f814 c138bd9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -103,7 +103,7 @@ void Dumpsys::impl::UnregisterDumpsysFunction(const void* token) {
void Dumpsys::Dump(int fd, const char** args) {
void Dumpsys::Dump(int fd, const char** args) {
  std::promise<void> promise;
  std::promise<void> promise;
  auto future = promise.get_future();
  auto future = promise.get_future();
  GetHandler()->BindOnceOn(pimpl_.get(), &Dumpsys::impl::DumpWithArgs, fd, args, std::move(promise));
  CallOn(pimpl_.get(), &Dumpsys::impl::DumpWithArgs, fd, args, std::move(promise));
  future.get();
  future.get();
}
}