Commit e219f0c786

Andrew Kelley <andrew@ziglang.org>
2019-10-25 19:03:12
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.
1 parent 952aa7a
Changed files (1)
src/main.cpp
@@ -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