mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
91e69fce4d
The Bluetooth system internally uses UnixSocketImpl when transfering files. When Bluetooth gets disabled during a file transfer, the IPC code deletes any related instance of UnixSocketImpl. This can happen before all pending SocketReceiveTasks have been processed by the main thread. The implementation of SocketReceiveTask uses a reference to the instance of UnixSocketImpl that has just deen disabled. This results in a segmantation fault. This patch fixes the problem by scheduling the delete operation for UnixSocketImpl to be executed after any pending SocketReceiveTasks. |
||
---|---|---|
.. | ||
app | ||
chromium | ||
dbus | ||
glue | ||
ipdl | ||
netd | ||
ril | ||
testshell | ||
unixsocket | ||
Makefile.in | ||
pull-chromium.py |