if (cjcr->store_bsock) {
cjcr->store_bsock->set_timed_out();
cjcr->store_bsock->set_terminated();
- cjcr->my_thread_send_signal(TIMEOUT_SIGNAL);
}
+ cjcr->my_thread_send_signal(TIMEOUT_SIGNAL);
free_jcr(cjcr);
dir->fsend(_("2001 Job \"%s\" marked to be %s.\n"),
Job, reason);
Dmsg1(100, "JobId=%u broadcast wait_device_release\n", (uint32_t)jcr->JobId);
pthread_cond_broadcast(&wait_device_release);
}
+ jcr->my_thread_send_signal(TIMEOUT_SIGNAL);
dir->fsend(_("3000 JobId=%ld Job=\"%s\" marked to be %s.\n"),
jcr->JobId, jcr->Job, reason);
free_jcr(jcr);