fix(color): radio stuck when trying to close nested standalone script (#5200)

This commit is contained in:
philmoz
2024-06-20 18:41:13 +10:00
committed by GitHub
parent a3444af03c
commit 48c0a405f7
+2 -1
View File
@@ -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()