From c4ac64fd5d24bb3fc8ccc441d36a07c83c8b9015 Mon Sep 17 00:00:00 2001
From: Yu Cao <monstercy@hotmail.com>
Date: 星期三, 01 十月 2025 14:46:21 +0800
Subject: [PATCH] fix "can not find model issue when running libtorch runtime" (#2504)
---
runtime/http/bin/funasr-http-main.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/runtime/http/bin/funasr-http-main.cpp b/runtime/http/bin/funasr-http-main.cpp
index 105c7f6..f40031d 100644
--- a/runtime/http/bin/funasr-http-main.cpp
+++ b/runtime/http/bin/funasr-http-main.cpp
@@ -510,6 +510,7 @@
s.run();
LOG(INFO) << "http model loop " << s_port;
+ conn_guard.reset();
// wait for theads
for (auto &t : decoder_threads) {
t.join();
--
Gitblit v1.9.1