Skip to content

Commit 6238a59

Browse files
com.utilities.websockets 1.0.3 (#9)
- updated com.utilities.async -> 2.2.2
1 parent 8289df4 commit 6238a59

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Runtime/WebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ private async void RunMessageQueue()
4242
{
4343
while (_semaphore != null)
4444
{
45-
// syncs with update loop
45+
// ensure that messages are invoked on main thread.
4646
await Awaiters.UnityMainThread;
4747

4848
while (_events.TryDequeue(out var action))

Runtime/WebSocket_WebGL.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private async void RunMessageQueue()
6464
{
6565
while (_semaphore != null)
6666
{
67-
// syncs with update loop
67+
// ensure that messages are invoked on main thread.
6868
await Awaiters.UnityMainThread;
6969

7070
while (_events.TryDequeue(out var action))

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Utilities.WebSockets",
44
"description": "A simple websocket package for Unity (UPM)",
55
"keywords": [],
6-
"version": "1.0.2",
6+
"version": "1.0.3",
77
"unity": "2021.3",
88
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.websockets#documentation",
99
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.websockets/releases",
@@ -17,7 +17,7 @@
1717
"url": "https://github.com/StephenHodgson"
1818
},
1919
"dependencies": {
20-
"com.utilities.async": "2.2.1",
20+
"com.utilities.async": "2.2.2",
2121
"com.unity.nuget.newtonsoft-json": "3.2.1"
2222
},
2323
"samples": [

0 commit comments

Comments
 (0)