about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-26 18:04:23 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-26 18:04:23 +0200
commit51a5d3df3e63f1b120a509daeb8a8f9dacc48490 (patch)
tree673d4155542c9fd395384bbbcd6667e3e9554aa7
parenta1824233497f05ae21b3ddf768c14d9e0ab0f4e5 (diff)
downloadchawan-51a5d3df3e63f1b120a509daeb8a8f9dacc48490.tar.gz
buffer: close ssock on exit
-rw-r--r--src/server/buffer.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/buffer.nim b/src/server/buffer.nim
index e722e31d..347fbed2 100644
--- a/src/server/buffer.nim
+++ b/src/server/buffer.nim
@@ -1732,4 +1732,5 @@ proc launchBuffer*(config: BufferConfig, source: BufferSource,
   buffer.runBuffer()
   buffer.pstream.close()
   buffer.loader.unref()
+  ssock.close()
   quit(0)