Commit 42b5fa55 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Return when cancelling the import

parent 4770e524
......@@ -314,6 +314,7 @@ class RuleImportService : IntentService("RuleImportService") {
} else parsers[matcher] = hosts.copy(hosts.first + 1)
if (parsers.isEmpty()) {
log("No parsers left. Aborting.")
return@forEach
}
}
}
......
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