diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp index 7294d65fa9..874d4e0a68 100644 --- a/Shell/Shell.cpp +++ b/Shell/Shell.cpp @@ -1585,6 +1585,8 @@ void Shell::stop_all_jobs() perror("killpg(KILL)"); } } + + jobs.clear(); } }