diff options
author | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-03-29 16:11:34 +0200 |
---|---|---|
committer | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-04-09 17:04:42 +0200 |
commit | fff370c2d89acfed702b7c615650706c3c1fadd2 (patch) | |
tree | 37852d4dcccb3ea5a2a2b01b3da25a7b3d3d691c /AudioManagerUtilities/include/CAmSocketHandler.h | |
parent | b487c9b8c5e18797e91a77a4a0b447d63a2a42da (diff) | |
download | audiomanager-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 'AudioManagerUtilities/include/CAmSocketHandler.h')
0 files changed, 0 insertions, 0 deletions