Commit ed0d1ab
Everytime Bluetooth was turned off two file descriptors were not closed
Using close instead of shutdown on the file descriptors and only clear the file
descriptor that was closed. If both file descriptors are cleared the thread
will not be able to close it.1 parent 7bb2581 commit ed0d1ab
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
| |||
653 | 656 | | |
654 | 657 | | |
655 | 658 | | |
656 | | - | |
657 | | - | |
| 659 | + | |
| 660 | + | |
658 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
659 | 665 | | |
660 | 666 | | |
661 | 667 | | |
| |||
692 | 698 | | |
693 | 699 | | |
694 | 700 | | |
695 | | - | |
| 701 | + | |
| 702 | + | |
696 | 703 | | |
697 | | - | |
| 704 | + | |
698 | 705 | | |
699 | 706 | | |
700 | 707 | | |
| |||
0 commit comments