Gave all Threads a name, which simplifies debugging. Also fixed a problem with the Destination Picker, not closing the menu until something is clicked, this solves the problem with Disposing the surface!

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1613 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-01-31 16:02:17 +00:00
commit 299a4fba72
10 changed files with 37 additions and 25 deletions

View file

@ -202,7 +202,7 @@ namespace Greenshot.Helpers {
// Create the mail message in an STA thread
Thread t = new Thread(new ThreadStart(_ShowMail));
t.IsBackground = true;
t.Name = Application.ProductName;
t.Name = "Create MAPI mail";
t.SetApartmentState(ApartmentState.STA);
t.Start();