shared_pointer cycles

This commit is contained in:
Matej Sekoranja
2011-05-17 23:32:39 +02:00
parent 9c1eda3655
commit 484da96da6
9 changed files with 176 additions and 180 deletions

View File

@@ -224,7 +224,7 @@ namespace epics {
// remove from registry
Transport::shared_pointer thisSharedPtr = shared_from_this();
_context->getTransportRegistry()->remove(thisSharedPtr);
_context->getTransportRegistry()->remove(thisSharedPtr).get();
// clean resources
internalClose(force);