diff --git a/library/sds_thread/sds_thread.nim b/library/sds_thread/sds_thread.nim index 8f23840..f53bb18 100644 --- a/library/sds_thread/sds_thread.nim +++ b/library/sds_thread/sds_thread.nim @@ -88,6 +88,8 @@ proc destroySdsThread*(ctx: ptr SdsContext): Result[void, string] = ?ctx.reqReceivedSignal.close() freeShared(ctx) + ?shutdown() + return ok() proc sendRequestToSdsThread*(