--wip-- [skip ci]

This commit is contained in:
Bendodroid 2026-07-21 21:32:49 +02:00
commit 7a8b904852
10 changed files with 282 additions and 191 deletions

View file

@ -43,7 +43,7 @@ func main() {
// Register signal handler
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM)
go func(resp *types.SpaceAPIResponseV14) {
go func(resp *types.SpaceAPIResponse) {
<-sc
log.Println("Saving state and shutting down...")
persistence.SaveCurrentState(*resp)