livoxGen1🐛 Call stop() on all producers before deleting in _exit

This commit is contained in:
2026-06-14 15:34:07 -04:00
parent 24eee2d240
commit acb684ad35
5 changed files with 204 additions and 109 deletions
@@ -235,10 +235,10 @@ TEST_F(LcameraBuffConfigureHilTest, AttachThreeYuvChannelsWithOptPlanar480p)
++expectedBufferCount;
ASSERT_EQ(
smo::stim_buff::lcamera_buff::attachedStimulusProducers.size(),
smo::stim_buff::lcamera_buff::managedStimulusProducers.size(),
1u);
producer = smo::stim_buff::lcamera_buff
::attachedStimulusProducers.front();
::managedStimulusProducers.front();
ASSERT_TRUE(producer != nullptr);
EXPECT_EQ(
producer->attachedStimulusBuffers.size(),