Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only close the cache db if it is not null.
This fixes a bug where the cache db is not closed if an exception occurs when opening it. This unhandled exception will cause Nextflow to fail and prevent the Global.cleanUp() from being called. Signed-off-by: Rob Syme <[email protected]>
- Loading branch information