diff options
| author | 2017-03-31 09:10:43 -0700 | |
|---|---|---|
| committer | 2017-03-31 10:45:52 -0700 | |
| commit | 052f3aeb8cf11b3ae7271490c5fee2dcec566c31 (patch) | |
| tree | 59c481b3ff50b7eaa63464e4373212825ff71028 | |
| parent | a1336cf0decf0bafeae874dfcb1521339165a9b9 (diff) | |
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
| -rw-r--r-- | services/vr/bufferhubd/producer_channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/vr/bufferhubd/producer_channel.cpp b/services/vr/bufferhubd/producer_channel.cpp index 98a419f976..43010b0f79 100644 --- a/services/vr/bufferhubd/producer_channel.cpp +++ b/services/vr/bufferhubd/producer_channel.cpp @@ -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_); } |