AI 144124: Avoid leaking a pty file descriptor when quitting the terminal.
BUG=1750582 Automated import of CL 144124
This commit is contained in:
committed by
The Android Open Source Project
parent
57392cb174
commit
74285ab548
@@ -63,5 +63,10 @@ public class Exec
|
||||
*
|
||||
*/
|
||||
public static native int waitFor(int processId);
|
||||
|
||||
/**
|
||||
* Close a given file descriptor.
|
||||
*/
|
||||
public static native void close(FileDescriptor fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user