You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to ApiClientBuilder.EnableBackingStoreForParseNodeFactory would not check to see if the supplied ParseNodeFactoryRegistry was already a BackingStoreParseNodeFactory. This means that if it was called in a loop it would add multiple layers of Backing Storage and the call to GetRootParseNode could end up making lots of calls. In dotnet 4.8 projects with Prefer 32 Bit Turned off, the large call stack was causing StackOverflow Exceptions.
Copy file name to clipboardExpand all lines: src/abstractions/ApiClientBuilder.cs
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,9 @@ public static ISerializationWriterFactory EnableBackingStoreForSerializationWrit
50
50
if(registry!=SerializationWriterFactoryRegistry.DefaultInstance)// if the registry is the default instance, we already enabled it above. No need to do it twice
0 commit comments