livoxGen1🐛 Call stop() on all producers before deleting in _exit
This commit is contained in:
@@ -29,7 +29,15 @@ struct LivoxProviderParams
|
||||
|
||||
extern const SmoCallbacks *smoHooksPtr;
|
||||
extern SmoThreadingModelDesc smoThreadingModelDesc;
|
||||
extern std::vector<std::shared_ptr<StimulusProducer>> attachedStimulusProducers;
|
||||
extern std::vector<std::shared_ptr<StimulusProducer>> managedStimulusProducers;
|
||||
|
||||
void addManagedStimulusProducer(
|
||||
const std::shared_ptr<PcloudStimulusProducer> &producer,
|
||||
const std::shared_ptr<livoxProto1::Device> &device);
|
||||
|
||||
sscl::co::ViralNonPostingInvoker<bool> removeManagedStimulusProducerIfUnused(
|
||||
const std::shared_ptr<PcloudStimulusProducer> &producer,
|
||||
const std::shared_ptr<sscl::ComponentThread> &componentThread);
|
||||
|
||||
std::shared_ptr<StimulusProducer> getStimulusProducer(
|
||||
const std::shared_ptr<device::DeviceAttachmentSpec> &spec);
|
||||
|
||||
Reference in New Issue
Block a user