[Debugger] Fixes the processing methods of incoming part messages (#2840)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
committed by
Zoltan Herczeg
parent
806b9f05c0
commit
938e9c7530
@@ -1115,6 +1115,8 @@ jerry_debugger_receive (jerry_debugger_uint8_data_t **message_data_p) /**< [out]
|
||||
|
||||
if (context.message_p == NULL)
|
||||
{
|
||||
JERRY_CONTEXT (debugger_received_length) = (uint16_t) context.received_length;
|
||||
|
||||
if (expected_message_type != 0)
|
||||
{
|
||||
jerry_debugger_transport_sleep ();
|
||||
|
||||
Reference in New Issue
Block a user