From 6a315917163d68a5e48a40809a420f44b2ec5a15 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期四, 10 八月 2023 15:05:12 +0800 Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main --- funasr/runtime/websocket/websocket-server-2pass.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/funasr/runtime/websocket/websocket-server-2pass.h b/funasr/runtime/websocket/websocket-server-2pass.h index d483283..a705cfb 100644 --- a/funasr/runtime/websocket/websocket-server-2pass.h +++ b/funasr/runtime/websocket/websocket-server-2pass.h @@ -54,7 +54,7 @@ nlohmann::json msg; std::shared_ptr<std::vector<char>> samples; std::shared_ptr<std::vector<std::vector<std::string>>> punc_cache; - websocketpp::lib::mutex* thread_lock; // lock for each connection + std::shared_ptr<websocketpp::lib::mutex> thread_lock; // lock for each connection FUNASR_HANDLE tpass_online_handle=NULL; std::string online_res = ""; std::string tpass_res = ""; -- Gitblit v1.9.1