telephonyprotocols/pdplayer/umts/spudfsm/src/cpdpfsmfactory.cpp
changeset 19 1f776524b15c
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
0:3553901f7fa8 19:1f776524b15c
    98 
    98 
    99 
    99 
   100 void CPdpFsmFactory::Close (void)
   100 void CPdpFsmFactory::Close (void)
   101     {
   101     {
   102 	SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::Close()");
   102 	SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::Close()");
   103 	iEtelDriverInput->Close();
   103 	// in OOM conditions iEtelDriveInput may not have successfully
       
   104 	// been created, check here for safety.
       
   105 	if (iEtelDriverInput != NULL)
       
   106 	    {
       
   107         iEtelDriverInput->Close();
       
   108 	    }
   104     }
   109     }
   105 
   110 
   106 
   111 
   107 /** 
   112 /** 
   108 @return may return NULL if there is no PDP context with that Id
   113 @return may return NULL if there is no PDP context with that Id