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/python/Ice.py | |
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/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py index 85752e7a535..5790c64cd8a 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -53,6 +53,12 @@ if _dlopenflags >= 0: sys.setdlopenflags(_dlopenflags) # +# Give the extension an opportunity to clean up before a graceful exit. +# +import atexit +atexit.register(IcePy.cleanup) + +# # Add some symbols to the Ice module. # ObjectPrx = IcePy.ObjectPrx |