summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/ObjectAdapter.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2014-08-22 16:28:31 -0230
committerDwayne Boone <dwayne@zeroc.com>2014-08-22 16:28:31 -0230
commit8e63757aa8c07d290856fd987ae78d90ffd2ae16 (patch)
treedfa0189f62bc8373c57604bdb6875fcd825f29a9 /py/modules/IcePy/ObjectAdapter.cpp
parentICE-5606 renamed ServantLocator::deactivate to destroy (diff)
downloadice-8e63757aa8c07d290856fd987ae78d90ffd2ae16.tar.bz2
ice-8e63757aa8c07d290856fd987ae78d90ffd2ae16.tar.xz
ice-8e63757aa8c07d290856fd987ae78d90ffd2ae16.zip
Revert "ICE-5606 renamed ServantLocator::deactivate to destroy"
This reverts commit 710af6e9ea945157ef8b92112167aeda01b6d383.
Diffstat (limited to 'py/modules/IcePy/ObjectAdapter.cpp')
-rw-r--r--py/modules/IcePy/ObjectAdapter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/modules/IcePy/ObjectAdapter.cpp b/py/modules/IcePy/ObjectAdapter.cpp
index 62a812ea9d6..b82c500a8aa 100644
--- a/py/modules/IcePy/ObjectAdapter.cpp
+++ b/py/modules/IcePy/ObjectAdapter.cpp
@@ -62,7 +62,7 @@ public:
virtual void finished(const Ice::Current&, const Ice::ObjectPtr&, const Ice::LocalObjectPtr&);
- virtual void destroy(const string&);
+ virtual void deactivate(const string&);
PyObject* getObject();
@@ -251,11 +251,11 @@ IcePy::ServantLocatorWrapper::finished(const Ice::Current& current, const Ice::O
}
void
-IcePy::ServantLocatorWrapper::destroy(const string& category)
+IcePy::ServantLocatorWrapper::deactivate(const string& category)
{
AdoptThread adoptThread; // Ensure the current thread is able to call into Python.
- PyObjectHandle res = PyObject_CallMethod(_locator, STRCAST("destroy"), STRCAST("s"), category.c_str());
+ PyObjectHandle res = PyObject_CallMethod(_locator, STRCAST("deactivate"), STRCAST("s"), category.c_str());
if(PyErr_Occurred())
{
PyException ex; // Retrieve the exception before another Python API call clears it.