雾聪
2023-08-10 a8126f7207e17a7223456ff7fbeeeea2ddf2b450
update websocket-server-2pass
1个文件已修改
2 ■■■■■ 已修改文件
funasr/runtime/websocket/websocket-server-2pass.cpp 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/websocket/websocket-server-2pass.cpp
@@ -152,9 +152,11 @@
      } catch (std::exception const& e) {
        LOG(ERROR) << e.what();
      }
      if(punc_cache.size()>0){
      for (auto& vec : punc_cache) {
        vec.clear();
      }
      }
      if (Result) {
        websocketpp::lib::error_code ec;
        nlohmann::json jsonresult = handle_result(Result);