Skip to content

Thread safety #9

@aristotelos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions