We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fbe84e commit 6f0a3a7Copy full SHA for 6f0a3a7
1 file changed
include/ur_client_library/primary/primary_consumer.h
@@ -195,8 +195,7 @@ class PrimaryConsumer : public AbstractPrimaryConsumer
195
*/
196
virtual bool consume(MasterboardData& pkg) override
197
{
198
- std::scoped_lock lock(masterboard_data_mutex_);
199
- masterboard_data_ = std::make_shared<MasterboardData>(pkg);
+ // Nothing to do here for now.
200
return true;
201
}
202
@@ -282,8 +281,6 @@ class PrimaryConsumer : public AbstractPrimaryConsumer
282
281
std::mutex configuration_data_mutex_;
283
std::mutex safety_mode_mutex_;
284
std::shared_ptr<SafetyModeMessage> safety_mode_;
285
- std::mutex masterboard_data_mutex_;
286
- std::shared_ptr<MasterboardData> masterboard_data_;
287
};
288
289
} // namespace primary_interface
0 commit comments