From bfa8502599143594679025ca4f1b1bc4bd9c816a Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Wed, 30 Dec 2015 09:22:32 -0500 Subject: [PATCH] STA model for the program. Fixes #54 --- SoundSwitch/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoundSwitch/Program.cs b/SoundSwitch/Program.cs index 9d91f6d3e8..c0f1eca077 100644 --- a/SoundSwitch/Program.cs +++ b/SoundSwitch/Program.cs @@ -32,7 +32,7 @@ namespace SoundSwitch internal static class Program { [HandleProcessCorruptedStateExceptions] - [MTAThread] + [STAThread] private static void Main() { bool createdNew;