blob: a23fd9db1ee3c8c723dbf84de73a57427db381aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
local function testCrash()
print(nil .. "")
end
local function testCrash2()
testCrash()
end
local function testCrash3()
testCrash2()
end
local function testCrash4()
testCrash3()
end
local function testCrash5()
testCrash4()
end
local function testCrash6()
testCrash5()
end
lvgl.Label(nil, {
text = "crash in 1 second.",
align = lvgl.ALIGN.CENTER
})
lvgl.Timer {
period = 1000,
cb = function(t)
t:delete()
-- crash in callback function is protected.
testCrash6()
end
}
|