summaryrefslogtreecommitdiff
path: root/internal/gotosocial/gotosocial.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gotosocial/gotosocial.go')
-rw-r--r--internal/gotosocial/gotosocial.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/gotosocial/gotosocial.go b/internal/gotosocial/gotosocial.go
index 4c6846ff9..6a66602f0 100644
--- a/internal/gotosocial/gotosocial.go
+++ b/internal/gotosocial/gotosocial.go
@@ -72,6 +72,5 @@ func (gts *gotosocial) Stop(ctx context.Context) error {
if err := gts.apiRouter.Stop(ctx); err != nil {
return err
}
-
- return gts.db.Stop(ctx)
+ return gts.db.Close()
}