Removes all jobs from a registry and calls sweepRegistry.
clearRegistry(reg = getDefaultRegistry())[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).
Other Registry:
getDefaultRegistry(),
loadRegistry(),
makeRegistry(),
removeRegistry(),
saveRegistry(),
sweepRegistry(),
syncRegistry()