This is an automated email from the ASF dual-hosted git repository.

jianhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new ff2c079  Do Not abort when Ipc receive end type (#2814)
ff2c079 is described below

commit ff2c0792e0ba821f9d3786ff724c1095e62d44ae
Author: darin <[email protected]>
AuthorDate: Mon Aug 12 17:27:45 2019 +0800

    Do Not abort when Ipc receive end type (#2814)
---
 weex_core/Source/third_party/IPC/IPCCommunicator.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/weex_core/Source/third_party/IPC/IPCCommunicator.cpp 
b/weex_core/Source/third_party/IPC/IPCCommunicator.cpp
index 1d7c28f..04d62e0 100644
--- a/weex_core/Source/third_party/IPC/IPCCommunicator.cpp
+++ b/weex_core/Source/third_party/IPC/IPCCommunicator.cpp
@@ -151,7 +151,9 @@ void BufferAssembler::readData(const char*& blob)
             break;
         case IPCType::END:
         default:
-            IPC_UNREACHABLE();
+            IPC_LOGE("IPC TO BE END");
+            m_datas.emplace_back();
+            break;
         }
     }
 }

Reply via email to