diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-08-22 15:35:21 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-08-22 15:35:21 -0230 |
commit | 609591644a83b2c75627951a89d6caa2cce2e3eb (patch) | |
tree | da2e8632b79fdf3a2b1c76d29c5feea716d93dee /py/modules/IcePy/ObjectAdapter.cpp | |
parent | Sort src Makefiles for C# and Python (diff) | |
download | ice-609591644a83b2c75627951a89d6caa2cce2e3eb.tar.bz2 ice-609591644a83b2c75627951a89d6caa2cce2e3eb.tar.xz ice-609591644a83b2c75627951a89d6caa2cce2e3eb.zip |
ICE-5606 renamed ServantLocator::deactivate to destroy
Diffstat (limited to 'py/modules/IcePy/ObjectAdapter.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectAdapter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/modules/IcePy/ObjectAdapter.cpp b/py/modules/IcePy/ObjectAdapter.cpp index b82c500a8aa..62a812ea9d6 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 deactivate(const string&); + virtual void destroy(const string&); PyObject* getObject(); @@ -251,11 +251,11 @@ IcePy::ServantLocatorWrapper::finished(const Ice::Current& current, const Ice::O } void -IcePy::ServantLocatorWrapper::deactivate(const string& category) +IcePy::ServantLocatorWrapper::destroy(const string& category) { AdoptThread adoptThread; // Ensure the current thread is able to call into Python. - PyObjectHandle res = PyObject_CallMethod(_locator, STRCAST("deactivate"), STRCAST("s"), category.c_str()); + PyObjectHandle res = PyObject_CallMethod(_locator, STRCAST("destroy"), STRCAST("s"), category.c_str()); if(PyErr_Occurred()) { PyException ex; // Retrieve the exception before another Python API call clears it. |