Skip to content

Commit

Permalink
ObjectProxy invoke exception callback
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxiaofeng1-tal authored and ruanshudong committed Feb 2, 2024
1 parent 90dc83a commit 6e52062
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions servant/libservant/ObjectProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,18 +282,8 @@ void ObjectProxy::doInvokeException(ReqMessage * msg)
}
else
{
//先确保adapter 非null
if (msg->adapter)
{
//异步回调,放入回调处理线程中
_communicatorEpoll->pushAsyncThreadQueue(msg);
}
else
{
TLOGERROR("[ObjectProxy::doInvokeException push adapter is null|" << __LINE__ << endl);
delete msg;
msg = NULL;
}
_communicatorEpoll->pushAsyncThreadQueue(msg);
TLOGERROR("[ObjectProxy::doInvokeException push adapter is null|" << __LINE__ << endl);
}
}
else
Expand Down

0 comments on commit 6e52062

Please sign in to comment.