mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-12 02:18:04 +08:00
Move inner exception null check outside IL2CPP ppd
This commit is contained in:
1 parent
4342901206
commit
66dc262a68
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user