fix: close config file again
This commit is contained in:
parent
c2747598f0
commit
65564de9d2
|
@ -32,6 +32,7 @@ pub const Config = struct {
|
|||
std.log.warn("Failed to open config file ({e}). Skipping config!", .{err});
|
||||
return self;
|
||||
};
|
||||
defer file.close();
|
||||
|
||||
var parser = ini.parse(std.heap.c_allocator, file.reader());
|
||||
defer parser.deinit();
|
||||
|
|
Loading…
Reference in a new issue