diff --git a/Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs b/Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs index b269258..49b9bfb 100644 --- a/Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs +++ b/Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs @@ -17,7 +17,7 @@ namespace MQTTnet.Implementations public static void Sleep(TimeSpan timeout) { -#if !NETSTANDARD1_3 +#if !NETSTANDARD1_3 && !WINDOWS_UWP System.Threading.Thread.Sleep(timeout); #else Task.Delay(timeout).Wait();