Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When actively disconnecting, judge the problem of state error. #48

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

CaiJingLong
Copy link
Contributor

When actively disconnected, the unconnected state should be ignored.

@AgainPsychoX AgainPsychoX merged commit 5001903 into edufolly:master Jul 23, 2019
@AgainPsychoX
Copy link
Collaborator

That is interesting, that I had occurred no errors because of that, but I ashamed to let it happen XD

Thanks.

@CaiJingLong
Copy link
Contributor Author

CaiJingLong commented Jul 23, 2019

In the example, follow these steps:

  1. connect to paired device to chat.
  2. click a device to connect a device.
  3. close the chat page.
  4. click the same device again to chat.

Then my bluetooth device will throw an exception.

@AgainPsychoX
Copy link
Collaborator

Thanks for satisfying my curiosity. Anyway the change should be merged by now. If necessary, patch version could be published in few hours.

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