diff --git a/kernel/include/kernel/Networking/UNIX/Socket.h b/kernel/include/kernel/Networking/UNIX/Socket.h index e8898201..548b449a 100644 --- a/kernel/include/kernel/Networking/UNIX/Socket.h +++ b/kernel/include/kernel/Networking/UNIX/Socket.h @@ -33,6 +33,7 @@ namespace Kernel private: UnixDomainSocket(SocketType, ino_t, const TmpInodeInfo&); + ~UnixDomainSocket() { on_close_impl(); } BAN::ErrorOr add_packet(BAN::ConstByteSpan);