Fixed stopping of import request with no imports in idle table

This commit is contained in:
Maria Matejka
2023-04-04 17:00:58 +02:00
parent 03bfb8b59d
commit c8507c1247
+1 -1
View File
@@ -3072,7 +3072,7 @@ again:
}
/* In some cases, we may want to directly proceed to export cleanup */
if (EMPTY_LIST(tab->exporter.e.hooks) && tab->wait_counter)
if (tab->wait_counter && (EMPTY_LIST(tab->exporter.e.hooks) || !tab->exporter.first))
rt_export_cleanup(tab);
}