mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-11-04 13:33:02 +08:00
fixed wait
This commit is contained in:
@@ -232,7 +232,7 @@ namespace MQTTnet.Core.Tests
|
|||||||
};
|
};
|
||||||
|
|
||||||
//make shure the retainedMessageManagerreceived the package
|
//make shure the retainedMessageManagerreceived the package
|
||||||
while (retainMessagemanager.GetMessages(subscribe).Any())
|
while (!retainMessagemanager.GetMessages(subscribe).Any())
|
||||||
{
|
{
|
||||||
await Task.Delay(TimeSpan.FromMilliseconds(10));
|
await Task.Delay(TimeSpan.FromMilliseconds(10));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user