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

Commit 5e045957 authored by Xusong Wang's avatar Xusong Wang
Browse files

Fix a bug in reusable burst execution.

The reusable burst execution incorrectly holds a reference to memory
identifier tokens.

Bug: 188568523
Test: NNT_static and inspect logcat
Change-Id: Ic8fb8be12bf579a316e7df8480ab3ccdc5c0e635
Merged-In: Ic8fb8be12bf579a316e7df8480ab3ccdc5c0e635
(cherry picked from commit 2082b871)
parent f3374d42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ class BurstExecution final : public nn::IExecution,
  private:
    const std::shared_ptr<const Burst> kBurst;
    const Request kRequest;
    const std::vector<int64_t>& kMemoryIdentifierTokens;
    const std::vector<int64_t> kMemoryIdentifierTokens;
    const bool kMeasure;
    const int64_t kLoopTimeoutDuration;
    const hal::utils::RequestRelocation kRelocation;