зеркало из https://github.com/mozilla/gecko-dev.git
2eb3afa0bc
The shutdown procedure for socket classes ensures that the I/O class is deleted independently from its socket class. If the socket class has been deleted, no I/O is performed and no socket events are forwarded. The I/O class therefore doesn't require a strong reference to its socket class. This patch removes the remaining ref-counted pointers from the socket I/O classes. The socket class clears the weak reference in its socket I/O class when closing the socket. |
||
---|---|---|
.. | ||
ConnectionOrientedSocket.cpp | ||
ConnectionOrientedSocket.h | ||
DataSocket.cpp | ||
DataSocket.h | ||
ListenSocket.cpp | ||
ListenSocket.h | ||
ListenSocketConsumer.cpp | ||
ListenSocketConsumer.h | ||
SocketBase.cpp | ||
SocketBase.h | ||
StreamSocket.cpp | ||
StreamSocket.h | ||
StreamSocketConsumer.cpp | ||
StreamSocketConsumer.h | ||
UnixSocketConnector.cpp | ||
UnixSocketConnector.h | ||
moz.build |