implement task queue waiting for resources

This commit is contained in:
André Roth
2024-06-06 17:10:39 +02:00
parent 2d97ba2bbd
commit 45035802be
5 changed files with 92 additions and 50 deletions

View File

@@ -567,6 +567,9 @@ func (context *AptlyContext) Shutdown() {
context.fileMemProfile = nil
}
}
if context.taskList != nil {
context.taskList.Stop()
}
if context.database != nil {
context.database.Close()
context.database = nil