equal
deleted
inserted
replaced
69 |
69 |
70 CReceiver::~CReceiver() |
70 CReceiver::~CReceiver() |
71 /** |
71 /** |
72 * Destructor. |
72 * Destructor. |
73 */ |
73 */ |
74 { |
74 { |
75 iData.Close(); |
75 Cancel(); |
76 Cancel(); |
76 // iData is a shared bit of memory between raw ip and bca |
77 } |
77 // you cannot delete it while bca might be using it otherwise |
|
78 // bad things may happen. |
|
79 iData.Close(); |
|
80 } |
78 |
81 |
79 void CReceiver::RunL() |
82 void CReceiver::RunL() |
80 /** |
83 /** |
81 * Method called when read request completes. This will only be once the BCA has a full IP |
84 * Method called when read request completes. This will only be once the BCA has a full IP |
82 * packet in its buffer. |
85 * packet in its buffer. |