mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 02:05:06 +01:00
Alternate fix for use-after-free error.
This commit is contained in:
parent
7b3016bacf
commit
6c15ac4d5e
@ -381,7 +381,7 @@ void ScrollingList::update(float dt)
|
||||
Component::update(dt);
|
||||
|
||||
if(components_.size() == 0) return;
|
||||
if(!items_ || items_->size() == 0) return;
|
||||
if(!items_) return;
|
||||
|
||||
for(unsigned int i = 0; i < scrollPoints_->size(); i++)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user