Skip to content
  • Geoffrey McRae's avatar
    de826408
    audio/jack: do not remove ports when finishing · de826408
    Geoffrey McRae authored
    
    
    This fixes a hang when there is a communications issue with the JACK
    server. Simply closing the connection is enough to completely clean up
    and as such we do not need to remove the ports first. As JACK uses a
    socket based protocol that relies on the `select` call, if there is a
    communication breakdown with the server the client library waits
    forever for a response to the unregister request.
    
    Signed-off-by: default avatarGeoffrey McRae <geoff@hostfission.com>
    Message-id: 20200613040518.38172-5-geoff@hostfission.com
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    de826408
    audio/jack: do not remove ports when finishing
    Geoffrey McRae authored
    
    
    This fixes a hang when there is a communications issue with the JACK
    server. Simply closing the connection is enough to completely clean up
    and as such we do not need to remove the ports first. As JACK uses a
    socket based protocol that relies on the `select` call, if there is a
    communication breakdown with the server the client library waits
    forever for a response to the unregister request.
    
    Signed-off-by: default avatarGeoffrey McRae <geoff@hostfission.com>
    Message-id: 20200613040518.38172-5-geoff@hostfission.com
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Loading