By Milan Senkyr on Thursday, 11 July 2019
Posted in C# Development
Likes 0
Views 1.1K
Votes 0
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.
View Full Post