Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit d530d10

Browse files
committed
Exceptions is IsNullOrDestroyed should return true
1 parent 66daabf commit d530d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Utility/UnityHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static bool IsNullOrDestroyed(this object obj, bool suppressWarning = tru
5151
}
5252
catch
5353
{
54-
return false;
54+
return true;
5555
}
5656
}
5757

0 commit comments

Comments
 (0)