mirror of
https://github.com/wiiu-env/launchiine.git
synced 2024-11-22 01:39: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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
containerMutex.unlock();
|
|
||||||
|
|
||||||
|
// keep the lock to delay the draw() until the image data is ready.
|
||||||
if(container != NULL) {
|
if(container != NULL) {
|
||||||
container->updateImageData();
|
container->updateImageData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
containerMutex.unlock();
|
||||||
|
|
||||||
bUpdatePositions = true;
|
bUpdatePositions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user