mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-01-08 10:33:52 +08:00
Move inner exception null check outside IL2CPP ppd
This commit is contained in:
parent
4342901206
commit
66dc262a68
@ -101,8 +101,10 @@ namespace UnityExplorer
|
|||||||
{
|
{
|
||||||
while (e != null)
|
while (e != null)
|
||||||
{
|
{
|
||||||
|
if (e.InnerException == null)
|
||||||
|
break;
|
||||||
#if CPP
|
#if CPP
|
||||||
if (e.InnerException == null || e.InnerException is System.Runtime.CompilerServices.RuntimeWrappedException)
|
if (e.InnerException is System.Runtime.CompilerServices.RuntimeWrappedException)
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
e = e.InnerException;
|
e = e.InnerException;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user