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]; }