Skip to content

Commit

Permalink
Fix on connection resumed callback user data type (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Octogonapus authored Jul 16, 2024
1 parent f39f24a commit 7c99437
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "AWSCRT"
uuid = "df31ea59-17a4-4ebd-9d69-4f45266dc2c7"
version = "0.3.1"
version = "0.3.2"

[deps]
CountDownLatches = "621fb831-fdad-4fff-93ac-1af7b7ed19e3"
Expand Down
2 changes: 1 addition & 1 deletion src/AWSMQTT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ function connect(

# this ud must persist until the connection is closed
on_connection_resumed_ud, on_connection_resumed_udp = if on_connection_resumed !== nothing
ud = _OnConnectionInterruptedUserData(connection.events, on_connection_resumed)
ud = _OnConnectionResumedUserData(connection.events, on_connection_resumed)
udp = Base.pointer_from_objref(ud)
lock(_C_IDS_LOCK) do
# TODO we leak these refs, they are never freed
Expand Down

2 comments on commit 7c99437

@Octogonapus
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/111163

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.2 -m "<description of version>" 7c994372e8ff5e2f4b1581a18ea070dc09f25f58
git push origin v0.3.2

Please sign in to comment.