SafeExit

Perform a safe shutdown of the SDK when closing the application. Recommended sequence: call CloseTokenChan(), then StopHttpApi(), then StopComunicate(), and finally SafeExit().

void SafeExit()

Parameters

  • none

Return Value

Perform a safe shutdown of the SDK when closing the application

Example

// example

void Shutdown() { 
    CloseTokenChan();
    StopHttpApi();
    StopComunicate();
    SafeExit();
}

Last updated

Was this helpful?