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
I had some crash in this file, when I load two file in parallel, betting a null ptr exception in the dictionary.add every variables are valid, I guess the dictionary is resizing while we are adding.
not sure if ThreadStaticAttribute or ConcurrentDictionary will be the best fix for this!
The text was updated successfully, but these errors were encountered:
ConcurrentDictionary would be the way to go, but it blocks. With ThreadStaticAttribute you create a separate Dictionary in each Thread which is Overhead and probably not what you want
Mvp.Xml.NetStandard/library/Mvp.Xml/Common/XPath/XPathCache.cs
Line 32 in ffaa727
I had some crash in this file, when I load two file in parallel, betting a null ptr exception in the dictionary.add every variables are valid, I guess the dictionary is resizing while we are adding.
not sure if ThreadStaticAttribute or ConcurrentDictionary will be the best fix for this!
The text was updated successfully, but these errors were encountered: