cyclic ref (memory leak) fixed when request are left on sendQueue

This commit is contained in:
Matej Sekoranja
2014-10-16 11:11:24 +02:00
parent 5c17b563b7
commit bccddcc418
2 changed files with 8 additions and 0 deletions

View File

@@ -1138,6 +1138,9 @@ namespace epics {
// clean resources
internalClose(true);
// this is important to avoid cyclic refs (memory leak)
clearSendQueue();
_sendQueue.wakeup();
// post close