• Cristian Maglie's avatar
    [skip-changelog] Pluggable monitor fix and refactor (#1482) · 9079f851
    Cristian Maglie authored
    * Fixed race condition in pluggable monitor
    
    Many methods had the stateLock held for the entire scope of the function
    call but the 'port_closed' message can be received at any moment,
    asyncronously, and it requires a stateLock as well. In this case the
    worst case is that the decode loop is blocked for 10 seconds until the
    timeout occurs, but this is not ideal.
    
    This bug has been fixed by removing the state, since it's not really
    useful.
    
    * Improved message logging in pluggable monitor
    
    * Refactored message processing in pluggable monitor
    
    * Fix i18n
    
    * fixed lint suggestion
    
    * fix from code review
    9079f851
en.po 99.9 KB