[Mono-dev] BackgroundWorker.CancelAsync() behaves incorrectly?
MonkeeSage at gmail.com
Thu Apr 24 21:41:57 EDT 2008
Achille Fouilleul wrote:
> The test case below prints True on .NET and False on Mono.
> Reversing the order of those two statements seems to fix the issue.
You meant the opposite (prints True on Mono and False on .NET). You should
open a bug for this. Moving the this.async assignment into the callback
delegate, before the call to the OnRunWorkerCompleted handler, seems like
The Right Thing To Do. But I'm not a mono developer.
View this message in context: http://www.nabble.com/BackgroundWorker.CancelAsync%28%29-behaves-incorrectly--tp16216320p16878417.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list