fix: close stmt

This commit is contained in:
DarkCat09 2024-07-02 19:09:09 +04:00
parent 10d174f626
commit 459d10664a
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -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)
} }