diff options
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ static void build_stop(Ted *ted) { free(*cmd); } arr_clear(ted->build_queue); + if (ted->active_buffer == &ted->build_buffer) { + ted->active_buffer = NULL; + ted_reset_active_buffer(ted); + } } // call before adding anything to the build queue |