EBDN - Community - Question & Answers

  Thursday, 11 July 2019
  5 Replies
  1.1K Visits
0
Votes
Undo
Hi,

in a plugin where multiple threads creating and moving ObjectItem are run in parallel, an exception is thrown after a while. It is enough to excetute this code several times in parallel:

var newItem = folder.NewChild(Device);
newItem.MoveTo(anotherFolder); <-- this throws an exception after a while

A simple plugin exposing such a behaviour attached. Tested on EB 6.8.0 Build 1145.