[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:
Robert Sipka
2019-04-25 13:43:33 +02:00
committed by Zoltan Herczeg
parent 806b9f05c0
commit 938e9c7530
2 changed files with 29 additions and 8 deletions
+2
View File
@@ -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 ();