Commit 33598c1e authored by Volker Krause's avatar Volker Krause
Browse files

Fix logic for toggling between internal and external extraction

parent db76b9e1
......@@ -238,7 +238,7 @@ void ExtractorDocumentNodeFactory::setUseSeparateProcess(bool separateProcess)
{
if (separateProcess && !d->interceptProcessor) {
d->interceptProcessor = std::make_unique<ExternalProcessor>();
} else {
} else if (!separateProcess && d->interceptProcessor) {
d->interceptProcessor.reset();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment