1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00

GO-4459: Fix bugs

This commit is contained in:
Jannis Metrikat 2025-01-16 00:50:39 +01:00
parent b40b2817e0
commit d6d3450548
No known key found for this signature in database
GPG key ID: B223CAC5AAF85615
6 changed files with 20 additions and 30 deletions

View file

@ -226,6 +226,7 @@ func main() {
}()
startReportMemory(mw)
api.SetMiddlewareParams(mw)
shutdown := func() {
server.Stop()
@ -247,9 +248,6 @@ func main() {
}
}
// pass mw to api service
api.SetMiddlewareParams(mw)
for {
sig := <-signalChan
if shouldSaveStack(sig) {