The importer does not have a general mechanism to clean importer contexts, other than the client/GUI directly asking for them. This can cause the accumulation of import context definitions in the import store (the memory one has a hard coded limit of 100, after which is starts cleaning up completed imports when a new one is added, but not stale ones).
Add a time based mechanism, allowing to delete imports, not matter what the import store implementation is, after a given amount of time, if the caller failed to remove the context.
The importer does not have a general mechanism to clean importer contexts, other than the client/GUI directly asking for them. This can cause the accumulation of import context definitions in the import store (the memory one has a hard coded limit of 100, after which is starts cleaning up completed imports when a new one is added, but not stale ones).
Add a time based mechanism, allowing to delete imports, not matter what the import store implementation is, after a given amount of time, if the caller failed to remove the context.