Remove redundant "== false" code

Some of this code has been re-organized.
f
This commit is contained in:
Aaron Franke 2018-10-06 16:20:41 -04:00
parent 37386f112b
commit 4f7b33cdcf
33 changed files with 81 additions and 73 deletions

View file

@ -1468,7 +1468,7 @@ void CSharpInstance::mono_object_disposed(MonoObject *p_obj) {
void CSharpInstance::mono_object_disposed_baseref(MonoObject *p_obj, bool p_is_finalizer, bool &r_owner_deleted) {
#ifdef DEBUG_ENABLED
CRASH_COND(base_ref == false);
CRASH_COND(!base_ref);
CRASH_COND(gchandle.is_null());
#endif
if (_unreference_owner_unsafe()) {