Commit ID 21b1d92b793b0c6d987ccd10ec80805cb5246155
|
Contributor: | Frédéric Danis | Files Modified: | 1 |
| Date: | 15-May-2012 at 13:55 | Lines Added: | 9 | |
| Repository: | git://anongit.freedesktop.org/pulseaudio/pulseaudio master | Lines Removed: | 7 | |
| Commit Comment: | bluetooth: Fix crash on disconnection When a Bluetooth headset is connected only to HFP profile (not connected to A2DP) and host streams to it, a crash occurs if host disconnects. When HFP disconnects, audio thread will fail on POLLHUP then generate a message to set PA profile to Off before ending. If this message is managed before PA unload bluetooth device module, all works fine. But, if this message is managed during module unload, this finish by re-entrance in release code (stop_thread) and a crash. This fix prevents to process profile change when module is unloading. |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 8 | 7 | 0 | 0 | 1 | 0 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed |
|---|---|---|---|---|---|---|---|
| ...ules/bluetooth/module-bluetooth-device.c | C | 8 | 7 | 0 | 0 | 1 | 0 |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.