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...)