Skip to content
Snippets Groups Projects
  • vargheseg's avatar
    3e429f58
    Workaround for std::logic_error in 00.08.00 · 3e429f58
    vargheseg authored
    Issue:
    Server throws when there are no device module variables:
    
    terminate called after throwing an instance of 'std::logic_error'
      what():  ReadAnyGroup has no element with AccessMode::wait_for_new_data.
    Aborted (core dumped)
    
    This commit introduces a workaround as proposed by jens:
      void DoocsUpdater::updateLoop(){
           if (_elementsToRead.empty()) {
               return;
           }
    
    This commit is intended to be reverted if the above strategy has side
    effects.
    3e429f58
    History
    Workaround for std::logic_error in 00.08.00
    vargheseg authored
    Issue:
    Server throws when there are no device module variables:
    
    terminate called after throwing an instance of 'std::logic_error'
      what():  ReadAnyGroup has no element with AccessMode::wait_for_new_data.
    Aborted (core dumped)
    
    This commit introduces a workaround as proposed by jens:
      void DoocsUpdater::updateLoop(){
           if (_elementsToRead.empty()) {
               return;
           }
    
    This commit is intended to be reverted if the above strategy has side
    effects.