make viewport panels background threads, so that they dont make the process hang when exiting (why did this start happening lately?)

This commit is contained in:
zeromus 2012-06-16 17:16:57 +00:00
parent ace86fa321
commit c2be40b6ed
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ namespace BizHawk.Core
{
ewh = new EventWaitHandle(false, EventResetMode.AutoReset);
threadPaint = new Thread(PaintProc);
threadPaint.IsBackground = true;
threadPaint.Start();
}