minor fix due to recent directory handling API changes
parent
d18b5f8b53
commit
98e37537d1
|
@ -1100,7 +1100,7 @@ pub const Walker = struct {
|
|||
}
|
||||
|
||||
pub fn deinit(self: *Walker) void {
|
||||
while (self.stack.popOrNull()) |*item| item.dir_it.close();
|
||||
while (self.stack.popOrNull()) |*item| item.dir_it.dir.close();
|
||||
self.stack.deinit();
|
||||
self.name_buffer.deinit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue