Xsharp errors in multithreads applications.

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Ивайло Кантурски
Posts: 7
Joined: Thu Jul 19, 2018 12:17 pm

Xsharp errors in multithreads applications.

Post by Ивайло Кантурски »

Hello team,

we use XSharp assembly in our Web Applications and we get two attached errors when we use some functions like NTrim, Transform and so on. Digging in XSharp code we found that the problems comes from XSharp.ConversionHelpers.GetFormatString which use the static formatStrings variable defined as Dictionary. May be the ConcurentDictionary will help here.

Thank you.
Attachments
Untitled1.png
Untitled.png
User avatar
robert
Posts: 4225
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Xsharp errors in multithreads applications.

Post by robert »

Ivailo ?

Thanks for the report. Can you create a Github issue for this: https://github.com/X-Sharp/XSharpPublic
I think this should indeed be a concurrent dictionary.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Ивайло Кантурски
Posts: 7
Joined: Thu Jul 19, 2018 12:17 pm

Re: Xsharp errors in multithreads applications.

Post by Ивайло Кантурски »

Thank soy for your reply. I'll create a Github issue.
Post Reply