Bug 841648 - Clear mIOLoop when the UnixSocketImpl instance changes its target file descriptor, f=tzimmerman, r=qdot
This commit is contained in:
@@ -728,6 +728,7 @@ UnixSocketImpl::OnFileCanReadWithoutBlocking(int aFd)
|
||||
mWriteWatcher.StopWatchingFileDescriptor();
|
||||
|
||||
mFd.reset(client_fd);
|
||||
mIOLoop = nullptr;
|
||||
|
||||
nsRefPtr<OnSocketEventTask> t =
|
||||
new OnSocketEventTask(this, OnSocketEventTask::CONNECT_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user