Continue trying to make the android build smaller.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4240 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-03-20 00:29:46 +00:00
parent a94d6f9271
commit ebef51b4ea
9 changed files with 19 additions and 38 deletions

View File

@ -9,7 +9,6 @@
#include <openssl/crypto.h>
#include <openssl/sha.h>
#include <picohttpparser.h>
#include <quickjs-libc.h>
#include <sodium/utils.h>
#include <uv.h>
@ -176,19 +175,13 @@ bool tf_util_report_error(JSContext* context, JSValue value)
JS_FreeValue(context, stack);
tf_task_t* task = tf_task_get(context);
if (!task || !tf_task_send_error_to_parent(task, value))
{
js_std_dump_error(context);
}
tf_task_send_error_to_parent(task, value);
is_error = true;
}
else if (JS_IsException(value))
{
tf_task_t* task = tf_task_get(context);
if (!task || !tf_task_send_error_to_parent(task, value))
{
js_std_dump_error(context);
}
tf_task_send_error_to_parent(task, value);
is_error = true;
}
return is_error;