minor fix due to recent directory handling API changes

master
dimenus 2019-11-09 15:08:53 -06:00 committed by Andrew Kelley
parent d18b5f8b53
commit 98e37537d1
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}