summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src
diff options
context:
space:
mode:
authorJens Lorenz <jlorenz@de.adit-jv.com>2018-03-29 16:11:34 +0200
committerJens Lorenz <jlorenz@de.adit-jv.com>2018-04-09 17:04:42 +0200
commitfff370c2d89acfed702b7c615650706c3c1fadd2 (patch)
tree37852d4dcccb3ea5a2a2b01b3da25a7b3d3d691c /AudioManagerDaemon/src
parentb487c9b8c5e18797e91a77a4a0b447d63a2a42da (diff)
downloadaudiomanager-fff370c2d89acfed702b7c615650706c3c1fadd2.tar.gz
AMUtil: Fix startup sequence addFdPoll and removeFdPoll
In case plugins add new fdpoll elements and directly removing them afterwards the state inside the structure will be changed to REMOVE. REMOVE will lead all the time to an erase which will not work in case the pointer is at .end() of vector or the element itself is not the correct one. Both cases will be fixed just by checking if the fd is the same. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'AudioManagerDaemon/src')
0 files changed, 0 insertions, 0 deletions