question

Upvotes
Accepted
488 12 12 26

UPA Uninitialize call, return code -3

Our application calls rsslUninitialize() frequently and majority of the time it receives a return code of 0 which represents success. Recently, it received a couple of time a return code of -3

Does anyone know what -3 means and what could be causing the error ?

Thank you,

elektronelektron-sdkrrteta-apielektron-transport-apirssl
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
791 9 7 14

An RsslRet value of -3 corresponds to RSSL_RET_INIT_NOT_INITIALIZED in rsslRetCodes.h. This means either that rsslInitialize has not been called before, or rsslUnintialize has been called too many times.

rsslInitialize and rsslUninitialize are reference counted, so for every rsslIniitialize call, you need to call rsslUninitialize.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea