fix bug: move jerry_make_api_unavailable into the end of jerry_cleanup
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang [email protected]
This commit is contained in:
1 parent
cfcb4c707c
commit
be1029d1d1
1 file changed
+1
-1
+1
-1
@@ -187,9 +187,9 @@ jerry_cleanup (void)
|
|||||||
{
|
{
|
||||||
jerry_assert_api_available ();
|
jerry_assert_api_available ();
|
||||||
|
|
||||||
jerry_make_api_unavailable ();
|
|
||||||
ecma_finalize ();
|
ecma_finalize ();
|
||||||
jmem_finalize ();
|
jmem_finalize ();
|
||||||
|
jerry_make_api_unavailable ();
|
||||||
} /* jerry_cleanup */
|
} /* jerry_cleanup */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user