From 64a9f70b03c95a4759a1bfd6e0dd5b4ea0419209 2013-03-16 10:25:52 From: florianlink Date: 2013-03-16 10:25:52 Subject: [PATCH] cleared cached signature hash to avoid dangling pointers git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@244 ea8d5007-eb21-0410-b261-ccb3ea6e24a9 --- diff --git a/src/PythonQtMethodInfo.cpp b/src/PythonQtMethodInfo.cpp index bb711aa..f8f11c0 100644 --- a/src/PythonQtMethodInfo.cpp +++ b/src/PythonQtMethodInfo.cpp @@ -282,6 +282,7 @@ void PythonQtMethodInfo::cleanupCachedMethodInfos() while (i.hasNext()) { delete i.next().value(); } + _cachedSignatures.clear(); } void PythonQtMethodInfo::addParameterTypeAlias(const QByteArray& alias, const QByteArray& name)