From 614e90920e9cf6fee3c576ca750cb33ae4a68ac2 Mon Sep 17 00:00:00 2001 From: Jhen Date: Thu, 7 Sep 2023 12:19:43 +0800 Subject: [PATCH] fix(ios): dispatch_release queue on refresh --- ios/RNLlama.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/RNLlama.mm b/ios/RNLlama.mm index 56f43ed..a33d336 100644 --- a/ios/RNLlama.mm +++ b/ios/RNLlama.mm @@ -199,6 +199,8 @@ - (void)invalidate { [llamaContexts release]; llamaContexts = nil; + dispatch_release(llamaDQueue); + [super invalidate]; }