mirror of
https://github.com/wiiu-env/launchiine.git
synced 2024-11-21 17:29:18 +01:00
- Fix locking the game container while updating the icon data
This commit is contained in:
parent
7ec159152c
commit
6c0c6387b6
@ -375,11 +375,14 @@ void GuiIconGrid::OnGameTitleUpdated(gameInfo * info) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
containerMutex.unlock();
|
||||
|
||||
// keep the lock to delay the draw() until the image data is ready.
|
||||
if(container != NULL) {
|
||||
container->updateImageData();
|
||||
}
|
||||
|
||||
containerMutex.unlock();
|
||||
|
||||
bUpdatePositions = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user