diff --git a/Project.toml b/Project.toml index 1d4347c..e0f0bf4 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "AWSCRT" uuid = "df31ea59-17a4-4ebd-9d69-4f45266dc2c7" -version = "0.3.0" +version = "0.3.1" [deps] CountDownLatches = "621fb831-fdad-4fff-93ac-1af7b7ed19e3" diff --git a/src/AWSMQTT.jl b/src/AWSMQTT.jl index 7aa36b6..105d7f4 100644 --- a/src/AWSMQTT.jl +++ b/src/AWSMQTT.jl @@ -218,7 +218,7 @@ function _c_on_connection_interrupted( return end - data = Base.unsafe_pointer_to_objref(userdata)::_OnConnectionResumedUserData + data = Base.unsafe_pointer_to_objref(userdata)::_OnConnectionInterruptedUserData try put!(data.ch, _OnConnectionInterruptedEvent(data.callback, error_code)) catch ex