| 1024 | } |
| 1025 | |
| 1026 | FileDescriptor::~FileDescriptor() { |
| 1027 | int fd = fd_.load(); |
| 1028 | if (fd != -1) { |
| 1029 | CloseFromDestructor(fd); |
| 1030 | } |
| 1031 | } |
| 1032 | |
| 1033 | Status FileDescriptor::Close() { |
| 1034 | int fd = fd_.exchange(-1); |
nothing calls this directly
no test coverage detected