27 minutes and 50 seconds | ||
xqt | 3a4d184 Changeset → | |
[FIX] Close file handle before removing a tempory file. mkstemp() returns a tuple containing OS-level file handle to an open file and the absolute pathname of that file. The file might be reopended several times and closed by with-statement. But the first file handle opened by mkstemp() keeps still open. It must be closed explicitly. Bug: T113127 Change-Id: Icf104ebee21448b405c9e4671e112d68cda68597 |