Commit Graph

4 Commits (937c2902fbe144071b397b63a305e67145f12269)

Author SHA1 Message Date
Michael Zanetti 74029c94a6 Fix a double-free when shutting down the python engine.
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()
2021-12-09 13:28:14 +01:00
Michael Zanetti 4c1361d10d Fix test target name 2020-10-28 17:38:10 +01:00
Michael Zanetti e50eece45c Fix metatype registering for old Qt versions 2020-10-15 22:34:06 +02:00
Michael Zanetti b870140608 Add tests, fix shutdown 2020-10-15 22:34:06 +02:00