implement task queue waiting for resources

This commit is contained in:
André Roth committed 2024-06-15 19:18:14 +02:00
1 parent 2d97ba2bbd
commit 45035802be
5 files changed
+92 -50

No files matched your search

+3
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