Enable promise builtin for nuttx-stm32f4 target (#2033)

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély
2017-10-04 15:46:18 +02:00
committed by GitHub
parent eb92b22b19
commit 1cc7cb58ce
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -493,6 +493,15 @@ int jerry_main (int argc, char *argv[])
ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL;
}
jerry_release_value (ret_value);
ret_value = jerry_run_all_enqueued_jobs ();
if (jerry_value_has_error_flag (ret_value))
{
ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL;
}
jerry_release_value (ret_value);
jerry_cleanup ();