!1838 修复badfd错误

Merge pull request !1838 from zhangyixin/master
This commit is contained in:
openharmony_ci 2024-09-02 02:52:22 +00:00 committed by Gitee
commit 2c9032e3e7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -100,10 +100,6 @@ TraceFileWriter::~TraceFileWriter()
if (fileMapAddr_ != MMAP_FAILED) {
munmap(fileMapAddr_, fileLength_);
}
if (fd_ != -1) {
close(fd_);
}
}
std::string TraceFileWriter::Path() const