QHttpServer: Delete HTTP2 Handler only if no requests are in process


Added counter to ensure there are no dependent QHttpServerResponder
instances, when we are trying to delete the handler.

Fixes: QTBUG-126032
Pick-to: 6.8
Change-Id: I32eef0e08951947d9939c2bdabbf677843868090
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commitc3ffb9cad4c6be70cec3372a5c7f7416e3212670
parent3b711db3efc03b3ff23f59099ca999a77cee4986
authorLena Biliaieva <lena.biliaieva@qt.io>
committerLena Biliaieva <lena.biliaieva@qt.io>
commit timeThu, 13 Jun 2024 17:16:25 +0200