mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
Add comment
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user