telephonyprotocols/rawipnif/src/Sender.cpp
branchRCL_3
changeset 60 1ac40e087278
parent 16 fe8b59ab9fa0
child 65 630d2f34d719
equal deleted inserted replaced
47:8b9e023e329f 60:1ac40e087278
    70 
    70 
    71 CSender::~CSender()
    71 CSender::~CSender()
    72 /**
    72 /**
    73  * Destructor.
    73  * Destructor.
    74  */
    74  */
    75 	{
    75     {
    76 	iSendBuffer.Close();
    76     Cancel();
    77 	Cancel();
    77     // iSendBuffer is a shared bit of memory between raw ip and bca
    78 	}
    78     // you cannot delete it while bca might be using it otherwise
       
    79     // bad things may happen.
       
    80     iSendBuffer.Close();
       
    81     }
    79 
    82 
    80 void CSender::RunL()
    83 void CSender::RunL()
    81 /**
    84 /**
    82  * This method checks if any error occured in the write operation.  
    85  * This method checks if any error occured in the write operation.  
    83  */
    86  */