[Mono-dev] BackgroundWorker.CancelAsync() behaves incorrectly?
    Jordan Callicoat 
    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.
http://www.nabble.com/file/p16878417/mono-1.9-bug-000000.patch IsBusy.patch 
-- 
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
mailing list