Skip to content

Commit

Permalink
worker clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Jan 30, 2025
1 parent 6cb08ab commit 4f2cf78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hyperx/server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ proc workerImpl(ctx: WorkerContext, ssl: static[bool] = true) =
try:
waitFor server.serve(ctx.callback, ctx.maxConnections)
finally:
setGlobalDispatcher(nil)
destroyServerSslContext()

proc workerSsl(ctx: ptr WorkerContext) {.thread, definedSsl.} =
Expand Down

0 comments on commit 4f2cf78

Please sign in to comment.