mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
implement task queue waiting for resources
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user