retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

Fix ScreenScraper scraping not working on search #282

Closed rsubtil closed 9 months ago

rsubtil commented 9 months ago

RequestDetails needs to be added to the scene tree, which is deferred. So, we need to await it's addition before performing requests, otherwise there's a race condition.

This problem ocurred mainly on search requests because the request was immediate. Hash requests took some time before starting due to hashing the game files.