QHttpServer: Fix segmentation fault in tst_qhttpserverrequestfilter


QHash::erase seems to invalidate previously stored iterator, fixed by
cleaning the hash after the work with the iterator is done.

Fixes: QTBUG-132748
Pick-to: 6.9 6.9.0
Change-Id: Ib1202e138008e7134fc624fe02f4c056fca70f5b
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commit69a6444506fd5a52d4cd78e5833801db642502f4
parentaa9d7a2b250e1869a62beb12059cce08899991d7
authorLena Biliaieva <lena.biliaieva@qt.io>
committerLena Biliaieva <lena.biliaieva@qt.io>
commit timeTue, 11 Mar 2025 17:02:19 +0100