Add early return check in wrenFreeVM that validates the VM pointer is not NULL and that the methodNames count is non-zero, preventing a crash when the VM has already been freed or was never properly initialized.
Add early return check in wrenFreeVM that validates the VM pointer is not NULL and that the methodNames count is non-zero, preventing a crash when the VM has already been freed or was never properly initialized.