clean up task locks

This commit is contained in:
Girish Ramakrishnan
2025-07-18 18:11:56 +02:00
parent 697b42c70f
commit 7e0803c4b4
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -105,6 +105,7 @@ async function releaseAll() {
debug('releaseAll: all locks released');
}
// identify programming errors in tasks that forgot to clean up locks
async function releaseByTaskId(taskId) {
assert.strictEqual(typeof taskId, 'string');