瀏覽代碼

Fix UWP support broken in #1135

release/3.x.x
SilverFox 3 年之前
父節點
當前提交
df262b5588
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Source/MQTTnet/Implementations/PlatformAbstractionLayer.cs

+ 1
- 1
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();


Loading…
取消
儲存