diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-10-31 03:24:40 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-10-31 03:24:40 -0700 |
commit | 9840ca7bf91c9d2bd6e54787f7d54e826c648261 (patch) | |
tree | 7021fa8bff08bfadd812a5f8185c2293a468fd3f /python/modules/IcePy/ValueFactoryManager.cpp | |
parent | Move SessionHelper communicator initialization to a separate thread ICE-8504 (diff) | |
download | ice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.tar.bz2 ice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.tar.xz ice-9840ca7bf91c9d2bd6e54787f7d54e826c648261.zip |
ICE-8496 - Python crash on exit
Diffstat (limited to 'python/modules/IcePy/ValueFactoryManager.cpp')
-rw-r--r-- | python/modules/IcePy/ValueFactoryManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/modules/IcePy/ValueFactoryManager.cpp b/python/modules/IcePy/ValueFactoryManager.cpp index ca7b6c5779b..eaa8d9716c5 100644 --- a/python/modules/IcePy/ValueFactoryManager.cpp +++ b/python/modules/IcePy/ValueFactoryManager.cpp @@ -299,7 +299,7 @@ IcePy::DefaultValueFactory::create(const string& id) // // Instantiate the object. // - PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType.get()); + PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType); PyObjectHandle args = PyTuple_New(0); PyObjectHandle obj = type->tp_new(type, args.get(), 0); if(!obj.get()) |