Skip to content

Fix stopwatch crash after stop pressed#324

Merged
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
MFAshby:fix_stop_crash_315
May 9, 2021
Merged

Fix stopwatch crash after stop pressed#324
JF002 merged 1 commit intoInfiniTimeOrg:developfrom
MFAshby:fix_stop_crash_315

Conversation

@MFAshby
Copy link
Copy Markdown
Contributor

@MFAshby MFAshby commented May 2, 2021

Fixes #315

I've opened this PR to master as that's what I worked from, but please let me know if I should re-target to develop branch.

@MFAshby
Copy link
Copy Markdown
Contributor Author

MFAshby commented May 2, 2021

pinetime-mcuboot-app-dfu-1.0.0.zip
DFU built from this branch

@Avamander
Copy link
Copy Markdown
Collaborator

Yes, PRs are merged into develop not master.

The lv_obj_del is called on btnStopLap  when transitioning to the
initial state, however the variable isn't then set to null. A subsequent
call to Refresh would attempt to delete the already freed object. This
could be triggered by stopping the stop watch, then pressing the
physical button on the watch.

Fixes #315
@MFAshby MFAshby changed the base branch from master to develop May 3, 2021 07:13
@MFAshby
Copy link
Copy Markdown
Contributor Author

MFAshby commented May 3, 2021

Thanks! I've rebased it.

@JF002
Copy link
Copy Markdown
Collaborator

JF002 commented May 9, 2021

@MFAshby Thanks for the fix!

@JF002 JF002 merged commit 937dc34 into InfiniTimeOrg:develop May 9, 2021
@JF002 JF002 added this to the Version 1.1 milestone May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Stopwatch crashes the watch when the analog watchface is selected

3 participants