提交 308c52a9 编写于 作者: A Anton Perkov

added check to prevent sigabort in net_plugin #2324

上级 f5cc977a
......@@ -1055,7 +1055,7 @@ namespace eosio {
void connection::fetch_timeout( boost::system::error_code ec ) {
if( !ec ) {
if( !( pending_fetch->req_trx.empty( ) || pending_fetch->req_blocks.empty( ) ) ) {
if( pending_fetch.valid() && !( pending_fetch->req_trx.empty( ) || pending_fetch->req_blocks.empty( ) ) ) {
my_impl->big_msg_master->retry_fetch (shared_from_this() );
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册