mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: already
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
e02cd968c2
commit
405717f0de
3 changed files with 3 additions and 3 deletions
|
@ -982,7 +982,7 @@ static void prv_window_pop(void) {
|
||||||
// The window_stack_remove() call should run the unload handler (which deinits the ui),
|
// The window_stack_remove() call should run the unload handler (which deinits the ui),
|
||||||
// but in the rare case that the window never loaded (i.e. a higher priority modal was up)
|
// but in the rare case that the window never loaded (i.e. a higher priority modal was up)
|
||||||
// then we could leak the phone_ui data and assert on the next phone call.
|
// then we could leak the phone_ui data and assert on the next phone call.
|
||||||
// Deinit again to cover this case (will be a no-op) if the window was alredy deinited.
|
// Deinit again to cover this case (will be a no-op) if the window was already deinited.
|
||||||
prv_phone_ui_deinit();
|
prv_phone_ui_deinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -540,7 +540,7 @@ static void prv_app_show_crash_ui(AppInstallId install_id) {
|
||||||
//! Switch to the app stored in the s_next_app global. The gracefully flag tells us whether to attempt a graceful
|
//! Switch to the app stored in the s_next_app global. The gracefully flag tells us whether to attempt a graceful
|
||||||
//! exit or not.
|
//! exit or not.
|
||||||
//!
|
//!
|
||||||
//! For a graceful exit, if the app has not alreeady finished it's de-init, we post a de_init event to the app, set
|
//! For a graceful exit, if the app has not already finished it's de-init, we post a de_init event to the app, set
|
||||||
//! a 3 second timer, and return immediately to the caller. If/when the app finally finishes deinit, it will post a
|
//! a 3 second timer, and return immediately to the caller. If/when the app finally finishes deinit, it will post a
|
||||||
//! PEBBLE_PROCESS_KILL_EVENT (graceful=true), which results in this method being again with graceful=true. We will then
|
//! PEBBLE_PROCESS_KILL_EVENT (graceful=true), which results in this method being again with graceful=true. We will then
|
||||||
//! see that the de_init already finished in that second invocation.
|
//! see that the de_init already finished in that second invocation.
|
||||||
|
|
|
@ -171,7 +171,7 @@ static void prv_read_complete_system_task_cb(void *context_ptr) {
|
||||||
}
|
}
|
||||||
PBL_ASSERTN(s_read_info.length >= FRAME_MIN_LENGTH);
|
PBL_ASSERTN(s_read_info.length >= FRAME_MIN_LENGTH);
|
||||||
read_length = s_read_info.length - FRAME_MIN_LENGTH;
|
read_length = s_read_info.length - FRAME_MIN_LENGTH;
|
||||||
// don't care if the timeout is alreay queued as the FSM state will make it a noop
|
// don't care if the timeout is already queued as the FSM state will make it a noop
|
||||||
new_timer_stop(s_read_timer);
|
new_timer_stop(s_read_timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue