Home > .Net Framework, C#, Performance, WPF > Cancel BackgroundWorker threads when closing windows / applications

Cancel BackgroundWorker threads when closing windows / applications

Blog relocated to blog.tsells.com

http://blog.tsells.com/2011/03/31/cancel-backgroundworker-threads-when-closing-windows-applications/

About these ads
  1. Debasish
    December 13, 2011 at 11:49 pm

    I used exact way to cancel the BackgroundWorker before closing Window, immediately my window get closed, but it take much time to cancel the BackgroundWorker and as a result it gives Object reference not set to an instance of an object. exception.
    Can u please give me some alternate solutions

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: