mirror of https://github.com/nymea/nymea.git
Python_AddObject() will steal the reference and delete it. Since we deleted m_logger ourselves too, a double free would corrupt memory on nymea shutdown. This would cause tests to crash when restarting the core within a single process by restartServer() |
||
|---|---|---|
| .. | ||
| pythonplugins.pro | ||
| testpythonplugins.cpp | ||