Skip to content

Conversation

@ps2
Copy link
Collaborator

@ps2 ps2 commented Nov 5, 2016

Fixes #233

Multiple updates have the potential to interleave, due to being managed by dispatch_groups. Therefore two updates first read the state of the temp basal (e.g. both read nil), then when their async completion runs, the first one sets the temp basal to non-nil and the UITableView is fine, but then the second one also sets it to non-nil and attempts to insert an extra row in the table view.

@ps2 ps2 changed the title fix interleaving updates issue fix for after-bolus crash Nov 5, 2016
@ps2 ps2 merged commit 10f7147 into dev Nov 8, 2016
@ps2 ps2 deleted the after-bolus-crash branch November 8, 2016 03:05
ps2 pushed a commit that referenced this pull request Oct 4, 2020
* Adjustment to status bar to support narrow displays

* using 5/8 and 3/8 for pump pill distribution

* updates from discussing with design

* stop IB from complaining

* moved screen width check to specific view

* clean up

* use view bounds instead of screen size for narrow display check
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.

2 participants