Merge pull request #12737 from NixOS/mergify/bp/2.24-maintenance/pr-12736

`MonitorFdHup::~MonitorFdHup`: use proper close method instead of lib… (backport #12736)
This commit is contained in:
Eelco Dolstra 2025-03-24 14:00:41 +01:00 committed by GitHub
commit 5ce8d922fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ public:
~MonitorFdHup()
{
close(notifyPipe.writeSide.get());
notifyPipe.writeSide.close();
thread.join();
}
};