Add Handles::clear() and run it on exit

This commit is contained in:
2025-10-09 16:48:33 -06:00
parent e185629d19
commit 0c2c0f653b
7 changed files with 18 additions and 7 deletions

View File

@@ -39,7 +39,6 @@ struct MappingObject : ObjectBase {
};
MappingObject::~MappingObject() {
std::lock_guard lk(m);
if (fd != -1) {
close(fd);
fd = -1;