summary refs log tree commit diff stats
path: root/compiler/sem.nim
diff options
context:
space:
mode:
authorgecko <gecko@exelo.tl>2022-08-04 05:46:08 +0100
committerGitHub <noreply@github.com>2022-08-04 06:46:08 +0200
commit7af484da947abc5dfc1e941a45c1cde5ee995aae (patch)
treea70acf3d9f7098f77ce3e1d8e8c89403d5864753 /compiler/sem.nim
parent09840c09e4407400cd61ff2b3696c80b5ca0ec92 (diff)
downloadNim-7af484da947abc5dfc1e941a45c1cde5ee995aae.tar.gz
Add client.close() in httpclient examples. (#20118)
Without this, the httpclient examples are essentially setting you up for failure. I was bitten by this when my app became unable to open any more sockets.

I'm not entirely sure how long this will relevant, as I hope destructors will be added to an upcoming version of the stdlib. But figured it was worth submitting anyways!
Diffstat (limited to 'compiler/sem.nim')
0 files changed, 0 insertions, 0 deletions