From 738270d4782a66d1215ece829a7cc06dfc9f5801 Mon Sep 17 00:00:00 2001 From: mratsim Date: Wed, 11 Apr 2018 15:44:57 +0200 Subject: [PATCH] note about finalizer future deprecation --- eth_keys/libsecp256k1.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/eth_keys/libsecp256k1.nim b/eth_keys/libsecp256k1.nim index ecf9fdd..76e8312 100644 --- a/eth_keys/libsecp256k1.nim +++ b/eth_keys/libsecp256k1.nim @@ -63,6 +63,7 @@ proc errorCallback(message: cstring, data: pointer) {.cdecl.} = ctx.error = $message proc shutdownLibsecp256k1(ekContext: EthKeysContext) = + # TODO: use destructor when finalizer are deprecated for destructors if not isNil(ekContext.context): secp256k1_context_destroy(ekContext.context)