Commit d4f42c1a authored by Alexander Stukowski's avatar Alexander Stukowski

Bug fix for 'Fatal Python error: deallocating None' when accessing...

Bug fix for 'Fatal Python error: deallocating None' when accessing DataCollection.attributes field more than 10,000 times
parent e14ae7d6
......@@ -161,7 +161,7 @@ handle type_caster<QVariant>::cast(const QVariant& src, return_value_policy /* p
lst.append(pybind11::cast(vlist[i]));
return lst.release();
}
default: return pybind11::none();
default: return pybind11::none().release();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment