platforms/drm: fix gpu removal
As soon as m_backends.removeOne(*it) returns, "it" no longer points to the same value. CCBUG: 441372
parent
6f694405
As soon as m_backends.removeOne(*it) returns, "it" no longer points to the same value. CCBUG: 441372
mentioned in commit 5611c905
·mentioned in commit 5611c905