Plugin *plugin;
int i = 0;
- if (!plugin_list || !jcr || !jcr->plugin_ctx_list) {
+ if (!plugin_list || !jcr || !jcr->plugin_ctx_list || job_canceled(jcr)) {
return; /* Return if no plugins loaded */
}
int rc = bRC_OK;
int i = 0;
- if (!plugin_list || !jcr || !jcr->plugin_ctx_list) {
+ if (!plugin_list || !jcr || !jcr->plugin_ctx_list || job_canceled(jcr)) {
return false; /* Return if no plugins loaded */
}
POOL_MEM fname(PM_FNAME);
POOL_MEM link(PM_FNAME);
- if (!plugin_list || !jcr->plugin_ctx_list) {
+ if (!plugin_list || !jcr->plugin_ctx_list || job_canceled(jcr)) {
return 1; /* Return if no plugins loaded */
}
Jmsg0(jcr, M_FATAL, 0, _("Plugin save packet not found.\n"));
return false;
}
+ if (job_canceled(jcr)) {
+ return false;
+ }
if (start) {
index++; /* JobFiles not incremented yet */
int flags;
int rc;
- if (!plugin || !plugin_ctx || !set_cmd_plugin(bfd, jcr)) {
+ if (!plugin || !plugin_ctx || !set_cmd_plugin(bfd, jcr) || job_canceled(jcr)) {
return CF_ERROR;
}
rp.pkt_size = sizeof(rp);
Dmsg0(dbglvl, "plugin list is NULL\n");
return;
}
+ if (job_canceled(jcr)) {
+ return;
+ }
int num = plugin_list->size();
General:
28Apr09
+kes Check for job_canceled() in fd_plugin code.
kes Update Win32/64 table creation to have new DB version 11 format
kes Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf
27Apr09