telephonyprotocols/rawipnif/src/Sender.cpp
changeset 49 f50f4094acd7
parent 42 3adadc800673
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
    73 
    73 
    74 CSender::~CSender()
    74 CSender::~CSender()
    75 /**
    75 /**
    76  * Destructor.
    76  * Destructor.
    77  */
    77  */
    78 	{
    78     {
    79 	iSendBuffer.Close();
    79     Cancel();
    80 	Cancel();
    80     // iSendBuffer is a shared bit of memory between raw ip and bca
    81 	}
    81     // you cannot delete it while bca might be using it otherwise
       
    82     // bad things may happen.
       
    83     iSendBuffer.Close();
       
    84     }
    82 
    85 
    83 void CSender::RunL()
    86 void CSender::RunL()
    84 /**
    87 /**
    85  * This method checks if any error occured in the write operation.  
    88  * This method checks if any error occured in the write operation.  
    86  */
    89  */