This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
MQTTnet
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
use same lockobject everywhere to prevent raceconditions
release/3.x.x
JanEggers
7 years ago
parent
861efa5e75
commit
80a6e6809c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
MQTTnet.Core/Client/MqttPacketDispatcher.cs
+ 1
- 1
MQTTnet.Core/Client/MqttPacketDispatcher.cs
View File
@@ -71,7 +71,7 @@ namespace MQTTnet.Core.Client
private List<MqttPacketAwaiter> GetPacketAwaiters()
{
lock (_
packetAwaiters
)
lock (_
syncRoot
)
{
return new List<MqttPacketAwaiter>(_packetAwaiters);
}
Write
Preview
Loading…
Cancel
Save