pythonqt icon indicating copy to clipboard operation
pythonqt copied to clipboard

Fix build, fix potential crash

Open gregor-anich-uibk opened this issue 4 years ago • 0 comments

Sorry for breaking the old build system :disappointed:

The changes to PythonQt(Safe)ObjectPtr are only needed if one calls Py_Finalize() I believe. In this case the destructor calls Py_DECREF after the python interpreter was destroyed. For "normal" users this should never happen, but still shouldn't hurt to have this check and safe others time when debugging their code.

gregor-anich-uibk avatar Oct 19 '20 17:10 gregor-anich-uibk