commit b4b3ed8eb8ab6184b6ae9574629a7ff7754fcaa9
parent d86fd9ef552cd8fa12207dfdfb9e6818a6342dce
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 10 Mar 2024 19:47:14 -0400
debug: ignore io::close error in printframe
Since the function is called from the abort handler
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debug/backtrace.ha b/debug/backtrace.ha
@@ -104,7 +104,7 @@ fn printframe(
case let file: io::file =>
yield file;
};
- defer io::close(file)!;
+ defer io::close(file): void;
static let linebuf: [1024]u8 = [0...];
const scan = bufio::newscanner_static(file, linebuf);