C
CH
Hy,
I have a backgroundworker doing some work when the user presses a
button, the problem is when I quickly start and stop the
backgroundworker, after 3-4 starts the DoWork event doesn't fire
anymore.
What usualy happends is this:
1. start the worker
2. immediately stop the worker (everything is OK)
3. immediately start the worker
4. immediately stop the worker (everything is OK)
5 immediately start the worker (the event handler for DoWork is not
called)
Anyone got any ideas on what happens?
Thanks
I have a backgroundworker doing some work when the user presses a
button, the problem is when I quickly start and stop the
backgroundworker, after 3-4 starts the DoWork event doesn't fire
anymore.
What usualy happends is this:
1. start the worker
2. immediately stop the worker (everything is OK)
3. immediately start the worker
4. immediately stop the worker (everything is OK)
5 immediately start the worker (the event handler for DoWork is not
called)
Anyone got any ideas on what happens?
Thanks