As soon as m_backends.removeOne(*it) returns, "it" no longer points to the same value. CCBUG: 441372 (cherry picked from commit fbff8636)