Adding Jerry api for triggering gc.
JerryScript-DCO-1.0-Signed-off-by: Ilyong Cho ily.cho@samsung.com
This commit is contained in:
committed by
Evgeny Gavrin
parent
ece246ef9e
commit
1c21e16c7b
@@ -660,6 +660,9 @@ main (void)
|
||||
// cleanup.
|
||||
jerry_api_release_object (global_obj_p);
|
||||
|
||||
// TEST: run gc.
|
||||
jerry_api_gc ();
|
||||
|
||||
jerry_cleanup ();
|
||||
|
||||
JERRY_ASSERT (test_api_is_free_callback_was_called);
|
||||
|
||||
Reference in New Issue
Block a user