mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
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:
parent
27d28efbeb
commit
299a4fba72
10 changed files with 37 additions and 25 deletions
|
@ -38,6 +38,7 @@ namespace GreenshotPlugin.Controls {
|
|||
BackgroundForm backgroundForm = new BackgroundForm(title, text);
|
||||
// Show form in background thread
|
||||
Thread backgroundTask = new Thread (new ThreadStart(backgroundForm.BackgroundShowDialog));
|
||||
backgroundForm.Name = "Background form";
|
||||
backgroundTask.IsBackground = true;
|
||||
backgroundTask.SetApartmentState(ApartmentState.STA);
|
||||
backgroundTask.Start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue