When printing from the command line, the program remains in memory for a very long time after it is done executing. It appears to be associated with garbage collection. I added code so that the process will be killed immediately after the window is closed. This fixes bug B2012-261.

Remove unnecessary line.
This commit is contained in:
Rich
2012-10-08 19:13:00 +00:00
parent 05713fc653
commit ca1c51f5df
2 changed files with 6 additions and 3 deletions

View File

@@ -1965,7 +1965,6 @@ namespace Volian.Controls.Library
while (tpdlg.Visible)
{
Application.DoEvents();
System.Threading.Thread.Sleep(0);
}
if (dr != DialogResult.Cancel) //!tpdlg.Cancel)
{