diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-30 17:51:43 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-30 17:51:43 +0000 |
commit | e1e3c23eb93918e12ffbe031608dfbd50d68a14c (patch) | |
tree | 22056f159dfd4601a05aa298ec54ebf243428c35 /cpp/src/Ice/Direct.cpp | |
parent | Fixed typo in comment. (diff) | |
download | ice-e1e3c23eb93918e12ffbe031608dfbd50d68a14c.tar.bz2 ice-e1e3c23eb93918e12ffbe031608dfbd50d68a14c.tar.xz ice-e1e3c23eb93918e12ffbe031608dfbd50d68a14c.zip |
bug fixes ; added adapter deactivation tests
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r-- | cpp/src/Ice/Direct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp index 37230f9d466..27ba75fd9db 100644 --- a/cpp/src/Ice/Direct.cpp +++ b/cpp/src/Ice/Direct.cpp @@ -22,10 +22,10 @@ using namespace IceInternal; IceInternal::Direct::Direct(const Current& current) : _current(current) { + dynamic_cast<ObjectAdapterI*>(_current.adapter.get())->incUsageCount(); + try { - dynamic_cast<ObjectAdapterI*>(_current.adapter.get())->incUsageCount(); - _servant = _current.adapter->identityToServant(_current.id); if(!_servant && !_current.id.category.empty()) |