diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-10-15 13:52:10 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-10-15 13:52:10 -0700 |
commit | eb78cf7bfb7038af9063547a2183861205325796 (patch) | |
tree | 22f0ffcb06cd2e47468b0a1a59ffcd34eac30eae /py/modules/IcePy/Logger.cpp | |
parent | Merge branch 'master' of ssh://git/home/git/ice (diff) | |
download | ice-eb78cf7bfb7038af9063547a2183861205325796.tar.bz2 ice-eb78cf7bfb7038af9063547a2183861205325796.tar.xz ice-eb78cf7bfb7038af9063547a2183861205325796.zip |
Fixes for stream API, PHP 5.4, Python 3.3
Diffstat (limited to 'py/modules/IcePy/Logger.cpp')
-rw-r--r-- | py/modules/IcePy/Logger.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/py/modules/IcePy/Logger.cpp b/py/modules/IcePy/Logger.cpp index 2a63c1468a0..5736c72c88b 100644 --- a/py/modules/IcePy/Logger.cpp +++ b/py/modules/IcePy/Logger.cpp @@ -400,6 +400,15 @@ IcePy::initLogger(PyObject* module) return true; } +void +IcePy::cleanupLogger() +{ + // + // Python is about to exit; we need to remove the wrapper around the process logger. + // + Ice::setProcessLogger(0); +} + PyObject* IcePy::createLogger(const Ice::LoggerPtr& logger) { |