Skip to content

Commit 7c99437

Browse files
authored
Fix on connection resumed callback user data type (#24)
1 parent f39f24a commit 7c99437

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "AWSCRT"
22
uuid = "df31ea59-17a4-4ebd-9d69-4f45266dc2c7"
3-
version = "0.3.1"
3+
version = "0.3.2"
44

55
[deps]
66
CountDownLatches = "621fb831-fdad-4fff-93ac-1af7b7ed19e3"

src/AWSMQTT.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ function connect(
418418

419419
# this ud must persist until the connection is closed
420420
on_connection_resumed_ud, on_connection_resumed_udp = if on_connection_resumed !== nothing
421-
ud = _OnConnectionInterruptedUserData(connection.events, on_connection_resumed)
421+
ud = _OnConnectionResumedUserData(connection.events, on_connection_resumed)
422422
udp = Base.pointer_from_objref(ud)
423423
lock(_C_IDS_LOCK) do
424424
# TODO we leak these refs, they are never freed

0 commit comments

Comments
 (0)