From 5115a066c971b2380c98f9be168e14869053eda1 Mon Sep 17 00:00:00 2001
From: majic31 <majic31@163.com>
Date: 星期四, 14 八月 2025 16:08:44 +0800
Subject: [PATCH] fix #2587: Resolve VAD multithreading issue (#2613)

---
 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