summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/Ivy.cs')
-rw-r--r--Ivy/Ivy.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ivy/Ivy.cs b/Ivy/Ivy.cs
index 9b0674f..af9e67e 100644
--- a/Ivy/Ivy.cs
+++ b/Ivy/Ivy.cs
@@ -277,6 +277,8 @@ namespace IvyBus
sent_messageFilter = new Collection<string>();
#if (!PocketPC)
syncContext = SynchronizationContext.Current;
+ if (syncContext == null)
+ synchronous = false;
debugProtocol = Properties.Settings.Default.IvyDebug;
protocolVersion = Properties.Settings.Default.IvyProtocolVersion;
#endif