DetectorWrapper: Clear synchronization prior to reconfiguring the detector
This commit is contained in:
@@ -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