fixed a bug where shell will delete a job when the job state changed due to interrupted and exit. Only delete the job if it is finished now
fixed a bug where shell will delete a job when the job state changed due to interrupted and exit.
Only delete the job if it is finished now

nickrechard/programperspective,nickrechard/programperspective,nickrechard/programperspective,nickrechard/programperspective