From c243498b6ae75f0c86fcc485a6c30efb21dfa882 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 1 May 2023 10:23:08 +0800 Subject: [PATCH] [fix] studio bug --- studio/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/studio/router.go b/studio/router.go index 1eab4765..b0dc126b 100644 --- a/studio/router.go +++ b/studio/router.go @@ -214,6 +214,7 @@ func setRouter(router *gin.Engine) { throw(c, 500, err.Error()) return } + defer ctx.Close() res, err := ctx.Call(fun.Method, fun.Args...)