diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-23 23:46:02 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-12-23 23:46:02 +0100 |
commit | bf1812806056349fd32785e1fa7ba7595c8c66fa (patch) | |
tree | 48a98c19d47171335070d081eb30171b8dc1ceb6 /TEMPLATE.SOURCECODE.HEADER | |
parent | 3f47635b86ac34a0dc42d93e77bb1a3ca26f6f79 (diff) |
fix crash when erasing entry while iterating through vector
Broadcast might result in calling Remove on the same object which erases
the entry from the listeners vector. If we create a copy we can still
iterate through the vector as all iterators are still valid.
Diffstat (limited to 'TEMPLATE.SOURCECODE.HEADER')
0 files changed, 0 insertions, 0 deletions