From 98d889c0f937f9e821f54cfd70103f6777231cf4 Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Wed, 6 May 2026 21:27:43 +0200 Subject: [PATCH] Update ffi/ffi_context.nim Co-authored-by: Gabriel Cruz <8129788+gmelodie@users.noreply.github.com> --- ffi/ffi_context.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi/ffi_context.nim b/ffi/ffi_context.nim index 6cf0a75..3a1bccc 100644 --- a/ffi/ffi_context.nim +++ b/ffi/ffi_context.nim @@ -218,7 +218,7 @@ proc ffiThreadBody[T](ctx: ptr FFIContext[T]) {.thread.} = waitFor ffiRun(ctx) -proc closeResources*[T](ctx: ptr FFIContext[T]): Result[void, string] = +proc cleanup*[T](ctx: ptr FFIContext[T]): Result[void, string] = ## Closes file descriptors and deinits the lock. Does NOT free ctx memory. ## Used by initContextResources error paths and pool destroy, where ctx is ## not heap-allocated (pool slots live in a fixed array, not on the heap).