Merge develop into main (#6)
- Update TactilitySDK to `0.6.0-SNAPSHOT10`: Refactor `tt_app_registration()` for the related changes - Fix for Diceware app hanging - Deleted unused `assets/` in HelloWorld app
This commit is contained in:
committed by
GitHub
parent
37c5002c5d
commit
e1579d3cbd
@@ -72,6 +72,7 @@ void Application::cleanupJob() {
|
||||
if (jobThread != nullptr) {
|
||||
tt_thread_join(jobThread, TT_MAX_TICKS);
|
||||
tt_thread_free(jobThread);
|
||||
jobThread = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,4 +179,6 @@ void Application::onShow(AppHandle appHandle, lv_obj_t* parent) {
|
||||
lv_obj_set_style_text_align(resultLabel, LV_TEXT_ALIGN_CENTER, LV_STATE_DEFAULT);
|
||||
}
|
||||
|
||||
void Application::onHide(AppHandle context) { cleanupJob(); }
|
||||
void Application::onHide(AppHandle context) {
|
||||
cleanupJob();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user