Added a lot of different things

This commit is contained in:
Simon Martens
2024-12-02 19:32:25 +01:00
parent 3dbbe6629c
commit 51afda5ff2
17 changed files with 92 additions and 156 deletions

View File

@@ -95,7 +95,7 @@ func (l *Library) Serialize(commit string) {
wg.Wait()
go func() {
l.Cleanup(commit)
l.Cleanup()
}()
}
@@ -110,11 +110,11 @@ func (l *Library) Prepare(commit string) {
l.Pieces.Prepare(commit)
}
func (l *Library) Cleanup(commit string) {
l.Agents.Cleanup(commit)
l.Places.Cleanup(commit)
l.Works.Cleanup(commit)
l.Categories.Cleanup(commit)
l.Issues.Cleanup(commit)
l.Pieces.Cleanup(commit)
func (l *Library) Cleanup() {
l.Agents.Cleanup()
l.Places.Cleanup()
l.Works.Cleanup()
l.Categories.Cleanup()
l.Issues.Cleanup()
l.Pieces.Cleanup()
}