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