Merge "Fix descriptor leak after accepting connections"
This commit is contained in:
@@ -326,6 +326,7 @@ class LocalSocketImpl
|
||||
}
|
||||
|
||||
s.fd = accept(fd, s);
|
||||
s.mFdCreatedInternally = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -536,4 +537,3 @@ class LocalSocketImpl
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user