Permalink
Browse files

Remove NR4 files from NR5 (left over from master->newNR merge)

  • Loading branch information...
dgrunwald committed Jun 23, 2012
1 parent 0c1ab95 commit 4b7ce7936e905ef48f18a55e7d576c7e51629e91
@@ -22,7 +22,6 @@
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
-using System.Threading;
namespace ICSharpCode.NRefactory.Utils
{
@@ -67,11 +66,8 @@ public void Show(string name)
name = name.Replace(c, '-');
string fileName = name != null ? Path.Combine(Path.GetTempPath(), name) : Path.GetTempFileName();
Save(fileName + ".gv");
- new Thread(new ThreadStart(
- delegate {
- Process.Start("dot", "\"" + fileName + ".gv\" -Tpng -o \"" + fileName + ".png\"").WaitForExit();
- Process.Start(fileName + ".png");
- })).Start();
+ Process.Start("dot", "\"" + fileName + ".gv\" -Tpng -o \"" + fileName + ".png\"").WaitForExit();
+ Process.Start(fileName + ".png");
}
static string Escape(string text)
Oops, something went wrong.

0 comments on commit 4b7ce79

Please sign in to comment.