Improve canary

This commit is contained in:
Thomas Farstrike
2025-04-25 11:40:23 +02:00
parent c5c5329031
commit d5bf526efe
+1 -1
View File
@@ -12,7 +12,7 @@ canary.add_flag(lv.obj.FLAG.HIDDEN)
def app2_thread():
count=0
while should_continue and canary.get_class():
while should_continue and canary.is_valid():
print(f"app2_thread: thread_id {_thread.get_ident()} - {count}")
count+=1
time.sleep(1)