-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix Windows crash on start or stop scan #143
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rohitsangwan01 works for me. Let's cleanup the comments and merge.
@fotiDim I left those comments intentionally, those are needed for debugging if required in future |
PR Type
Bug fix, Enhancement
Description
Fixed crashes on Windows during start or stop scan operations.
Improved error handling for Bluetooth scanning processes.
Added utility functions to convert watcher statuses to strings.
Updated CHANGELOG to reflect the fixes and improvements.
Changes walkthrough 📝
universal_ble_plugin.cpp
Fix crashes and improve Bluetooth scan handling
windows/src/universal_ble_plugin.cpp
StartScan
andStopScan
methods.StoppingScan
state inStartScan
.disposeDeviceWatcher
to handle additional watcher states.universal_ble_plugin.h
Add utility functions and new watcher tokens
windows/src/universal_ble_plugin.h
CHANGELOG.md
Update CHANGELOG with crash fixes
CHANGELOG.md