Skip to content

Thread safety #9

Description

@aristotelos

IService.GetPropertyValues is not thread safe. It throws:

[IndexOutOfRangeException: Index was outside the bounds of the array.]
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +14648891
   Oddr.Identificators.DeviceIdentificator.Get(UserAgent userAgent, Int32 confidenceTreshold) +592
   Oddr.ODDRService.GetPropertyValues(IEvidence evdnc) +733

I guess this is because of the device.PutProperty in DeviceIdentificator.Get.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions