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;