Removes all jobs from a registry and calls sweepRegistry.

clearRegistry(reg = getDefaultRegistry())

Arguments

reg

[Registry]
Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).

See also