Skip to content

Don't crash if Share comms are in progress when initialized#2

Merged
mddub merged 3 commits into
masterfrom
fix-mid-message-initialize
Aug 9, 2016
Merged

Don't crash if Share comms are in progress when initialized#2
mddub merged 3 commits into
masterfrom
fix-mid-message-initialize

Conversation

@mddub

@mddub mddub commented Aug 9, 2016

Copy link
Copy Markdown
Owner

In the event that Receiver is initialized when the Share app is communicating with the receiver, and the receiver is in the middle of sending a message, and one chunk of the message is less than 4 bytes, there will be a crash. This fixes it.

Also: stop surfacing BadCRC and UnexpectedBytes errors, as they occur only in this case, and are not truly errors. didError now reports only real errors (from BluetoothManager).

@mddub mddub merged commit 95f15c2 into master Aug 9, 2016
@mddub mddub deleted the fix-mid-message-initialize branch August 9, 2016 00:26
erikdi pushed a commit to erikdi/G4ShareSpy that referenced this pull request Apr 15, 2020
* Avoid carthage build when using workspace setup

* Modal presentation of CGMManager settings.

* Don't push root viewcontroller

* update to pumpmanager-updates

* Setup controller is shown modally

* Update to dev version of LoopKit
erikdi pushed a commit to erikdi/G4ShareSpy that referenced this pull request Apr 15, 2020
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.

1 participant