fix: close stmt
This commit is contained in:
parent
10d174f626
commit
459d10664a
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ func main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
stmt = sel_stmt
|
stmt = sel_stmt
|
||||||
|
defer sel_stmt.Close()
|
||||||
|
|
||||||
fasthttp.ListenAndServe("127.0.0.1:4001", handler)
|
fasthttp.ListenAndServe("127.0.0.1:4001", handler)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue