Closed chinglee-iot closed 9 months ago
This PR address the problem reported in forum.
In this PR
Before this PR, the following test code will have cellular context leakage.
cellularStatus = Cellular_Init( &pCellularHandle, pCommInterface );
cellularStatus is not CELLULAR_SUCCESS due to any one of the following function returns error
cellularStatus
CELLULAR_SUCCESS
cellularStatus = Cellular_ModuleInit( pContext, &pContext->pModuleContext ); cellularStatus = Cellular_ModuleEnableUE( pContext ); cellularStatus = Cellular_ModuleEnableUrc( pContext );
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description
This PR address the problem reported in forum.
In this PR
Test Steps
Before this PR, the following test code will have cellular context leakage.
cellularStatus
is notCELLULAR_SUCCESS
due to any one of the following function returns errorChecklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.