mirror of
https://github.com/ziglang/zig.git
synced 2026-02-19 15:58:50 +00:00
fix regression in zig run
changes in 1dcf540426103e762925f3365898d65b1724fdf1 added a "double free" of the progress node, causing a segfault for `zig run` when there is a terminal attached. fixed.
This commit is contained in:
parent
952aa7a9c1
commit
e219f0c786
@ -1294,7 +1294,6 @@ int main(int argc, char **argv) {
|
||||
zig_print_stack_report(g, stdout);
|
||||
|
||||
if (cmd == CmdRun) {
|
||||
stage2_progress_end(root_progress_node);
|
||||
#ifdef ZIG_ENABLE_MEM_PROFILE
|
||||
memprof_dump_stats(stderr);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user