mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
fix crash
This commit is contained in:
parent
08cddb7d4b
commit
8b3524243a
@ -8,12 +8,14 @@ echo ${WORKDIR}
|
||||
|
||||
killall -9 QuickStartDemo
|
||||
|
||||
echo "${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf"
|
||||
echo "start server: ${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf &"
|
||||
|
||||
${WORKDIR}/../bin/QuickStartDemo --config=${WORKDIR}/../../examples/QuickStartDemo/HelloServer/Server/config.conf &
|
||||
|
||||
sleep 3
|
||||
|
||||
echo "${WORKDIR}/../bin/QuickStartDemoClient"
|
||||
echo "client: ${WORKDIR}/../bin/QuickStartDemoClient"
|
||||
|
||||
${WORKDIR}/../bin/QuickStartDemoClient
|
||||
|
||||
|
||||
|
@ -231,8 +231,9 @@ struct ReqMessage : public TC_HandleBase
|
||||
proxy = NULL;
|
||||
pObjectProxy = pObj;
|
||||
|
||||
response = std::make_shared<ResponsePacket>();
|
||||
// sReqData.clear();
|
||||
sReqData = std::make_shared<TC_NetWorkBuffer::SendBuffer>();
|
||||
sReqData = std::make_shared<TC_NetWorkBuffer::SendBuffer>();
|
||||
pMonitor = NULL;
|
||||
bMonitorFin = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user