Add comment

This commit is contained in:
Jarred Sumner
2024-02-13 03:43:38 -08:00
parent 8d9b6cd847
commit 8957061d89

View File

@@ -1069,7 +1069,11 @@ pub const Closer = struct {
pub usingnamespace bun.New(@This());
pub fn close(fd: bun.FileDescriptor, _: anytype) void {
pub fn close(
fd: bun.FileDescriptor,
/// for compatibiltiy with windows version
_: anytype,
) void {
std.debug.assert(fd != bun.invalid_fd);
JSC.WorkPool.schedule(&Closer.new(.{ .fd = fd }).task);
}