Reuse threads in QSSGGlobalRenderNodeData


QSSGGlobalRenderNodeData used to call QThreadPool::waitForDone.
This function will wait for the threads to terminate causing
recreation of threads for each run. This is expensive, and
has some issues on the WebAssembly platform.

Instead wait for the tasks to complete without terminating
the threads.

Fixes: QTBUG-145753
Pick-to: 6.11
Change-Id: Ifab8fc92b4fdf66c119e1d96c1dec7bf4cbdfd23
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commit4db7237091bb6e1139f2769828464df1fdba0894
parent9a8515738ba5a6f2136983a79ae872694b71ec9c
authorEven Oscar Andersen <even.oscar.andersen@qt.io>
committerEven Oscar Andersen <even.oscar.andersen@qt.io>
commit timeMon, 20 Apr 2026 12:13:10 +0000