Another class in the wrong thread

  • Thread starter Thread starter imuaplease
  • Start date Start date
I

imuaplease

I have a class A :-(
that contains a background worker
There is another class B that I will refer to in DoWork and in a loop
But then I always get error for the first execution of the
startRunAsync() right inside the loop at the line where I use B
I press the start button again, it works BUT each of the indices of
the loop is double-executed

Anyone knows how to resolve this ?
 
I have a class A :-(
that contains a background worker
There is another class B that I will refer to in DoWork and in a loop
But then I always get error

Which error?
 
Back
Top