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

Commit 052f3aeb authored by Alex Vakulenko's avatar Alex Vakulenko
Browse files

bufferhubd: Fix an error on not closing post_fence explicitly.

There is a typo in the code that instead of calling close() on a Post
fence, actually did get_fd() which is really a no-op.

Fixed by changing the call to call() explicitly.

Bug: None
Test: `m -j32` succeeds. Sailfish boots, CubeSea works.
Change-Id: If788aa8ea291317f0618724ecc35a4b355575772
parent a1336cf0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ LocalFence ProducerChannel::OnProducerGain(Message& message) {

  ClearAvailable();
  producer_owns_ = true;
  post_fence_.get_fd();
  post_fence_.close();
  return std::move(returned_fence_);
}