Skip to content

Commit ef1b87d

Browse files
committed
free batch threadpool in main
1 parent 8bdae21 commit ef1b87d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/main/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,7 @@ int main(int argc, char ** argv) {
983983
llama_backend_free();
984984

985985
ggml_release_threadpool(threadpool);
986+
ggml_release_threadpool(threadpool_batch);
986987

987988
#ifndef LOG_DISABLE_LOGS
988989
LOG_TEE("Log end\n");

0 commit comments

Comments
 (0)