Move inner exception null check outside IL2CPP ppd

This commit is contained in:
Sinai
2021-06-11 18:12:14 +10:00
parent 4342901206
commit 66dc262a68
+3 -1
View File
@@ -101,8 +101,10 @@ namespace UnityExplorer
{
while (e != null)
{
if (e.InnerException == null)
break;
#if CPP
if (e.InnerException == null || e.InnerException is System.Runtime.CompilerServices.RuntimeWrappedException)
if (e.InnerException is System.Runtime.CompilerServices.RuntimeWrappedException)
break;
#endif
e = e.InnerException;