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:
parent
b40b2817e0
commit
d6d3450548
6 changed files with 20 additions and 30 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue