DetectorWrapper: Clear synchronization prior to reconfiguring the detector
This commit is contained in:
1 parent
2a29c09a1a
commit
04a2e9d20c
1 file changed
+5
@@ -12,6 +12,11 @@ void DetectorWrapper::Configure(const JFJochProtoBuf::DetectorConfig &request) {
|
||||
try {
|
||||
if (det.size() > 0)
|
||||
InternalStop();
|
||||
|
||||
// Clear synchronization prior to reconfiguring the detector
|
||||
det.setMaster(false, 0);
|
||||
det.setSynchronization(false);
|
||||
|
||||
if (request.module_hostname_size() > 0) {
|
||||
std::vector<std::string> module_hostname;
|
||||
for (const auto &iter: request.module_hostname())
|
||||
|
||||
Reference in new issue
Block a user