fix(color): radio stuck when trying to close nested standalone script (#5200)
This commit is contained in:
@@ -126,7 +126,8 @@ StandaloneLuaWindow::StandaloneLuaWindow(bool useLvgl) :
|
||||
|
||||
void StandaloneLuaWindow::setup(bool useLvgl)
|
||||
{
|
||||
_instance = new StandaloneLuaWindow(useLvgl);
|
||||
if (_instance == nullptr)
|
||||
_instance = new StandaloneLuaWindow(useLvgl);
|
||||
}
|
||||
|
||||
StandaloneLuaWindow* StandaloneLuaWindow::instance()
|
||||
|
||||
Reference in New Issue
Block a user