added some VM clean-up code to make it more robust

This commit is contained in:
hyunghwan.chung 2021-04-14 16:00:47 +00:00
parent 5db759b684
commit 3aa232ab3e

View File

@ -175,7 +175,7 @@ static MOO_INLINE void vm_cleanup (moo_t* moo)
(moo_ooi_t)MOO_OOP_TO_SMOOI(moo->processor->runnable.count), (moo_ooi_t)MOO_OOP_TO_SMOOI(moo->processor->runnable.count),
(moo_ooi_t)MOO_OOP_TO_SMOOI(moo->processor->suspended.count)); (moo_ooi_t)MOO_OOP_TO_SMOOI(moo->processor->suspended.count));
MOO_LOG0 (moo, MOO_LOG_WARN, "Warning - Terminating all residue processes\n"); MOO_LOG0 (moo, MOO_LOG_WARN, "Warning - terminating all residue processes\n");
terminate_all_processes (moo); terminate_all_processes (moo);
} }