Issues

Issue #331 resolved

Possible incrementation of invalid iterator in audio module

Boolsheet
created an issue

When {{{Pool::update()}}} calls {{{playing.earse(i)}}} it invalidates the iterator {{{i}}} causing an exception at {{{i++}}}.

https://bitbucket.org/rude/love/src/a04682b86e48/src/modules/audio/openal/Pool.cpp#cl-95

Before the change the code used {{{playing.erase(i++)}}} which works.