Commit c8b819a
committed
pbio/drv/bluetooth: Fix duplicate reset handler reset.
Write after free is already protected wth the finalizer. We shouldn't be unsetting the notification handler from a static config struct. This caused notifications to be lost when running the program again.
This only affected the Xbox Controller because the LWP3Device/Remote sets it every time.1 parent d6479db commit c8b819a
1 file changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 227 | | |
233 | 228 | | |
234 | 229 | | |
| |||
0 commit comments