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

Commit 9d0b53f6 authored by Chris Manton's avatar Chris Manton
Browse files

Actually call method after binding

Test: Manual
Bug: 153703013
Change-Id: I586b19af7ca8354fcf6be98db443305b85645c9c
parent d61939e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ void Dumpsys::impl::UnregisterDumpsysFunction(const void* token) {
void Dumpsys::Dump(int fd, const char** args) {
  std::promise<void> promise;
  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();
}