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,

Best Answer

  • DevTrev
    Answer ✓

    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.