Skip to content

Commit 3a3dc53

Browse files
rtakacsrobertsipka
authored andcommitted
Update the iotjs-system-heap.diff patch. (#236)
JSRemoteTest-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
1 parent ac6ea45 commit 3a3dc53

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

jstest/resources/patches/iotjs-system-heap.diff

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/src/iotjs.c b/src/iotjs.c
2-
index 2df7e0f..bd7b62f 100644
2+
index b50b939..7fac0b9 100644
33
--- a/src/iotjs.c
44
+++ b/src/iotjs.c
5-
@@ -234,6 +234,8 @@ void iotjs_conf_console_out(int (*out)(int lv, const char* fmt, ...)) {
5+
@@ -242,6 +242,8 @@ void iotjs_conf_console_out(int (*out)(int lv, const char* fmt, ...)) {
66
iotjs_set_console_out(out);
77
}
88

@@ -11,16 +11,14 @@ index 2df7e0f..bd7b62f 100644
1111
int iotjs_entry(int argc, char** argv) {
1212
int ret_code = 0;
1313

14-
@@ -265,6 +267,9 @@ terminate:
14+
@@ -273,6 +275,7 @@ terminate:
1515
iotjs_terminate(env);
1616

1717
exit:
18-
+ // Print mem-stat info.
1918
+ print_mem_stat();
20-
+
19+
#ifdef JERRY_DEBUGGER
2120
if (iotjs_environment_config(env)->debugger &&
2221
iotjs_environment_config(env)->debugger->context_reset) {
23-
iotjs_environment_release();
2422
diff --git a/src/iotjs_util.c b/src/iotjs_util.c
2523
index abd7a86..5668015 100644
2624
--- a/src/iotjs_util.c

0 commit comments

Comments
 (0)