# HG changeset patch # User Jeandet Alexis # Date 2016-12-09 18:45:38 # Node ID 857534592b43956cffa7f23c1b3c26f22cab8555 # Parent de83b0cfb38406c5253c10cbdaa6bc8cc8728ce2 SpwPlugin: Another try to fix thread terminaison. diff --git a/spwplugin/StarDundee/stardundeespw_usb.cpp b/spwplugin/StarDundee/stardundeespw_usb.cpp --- a/spwplugin/StarDundee/stardundeespw_usb.cpp +++ b/spwplugin/StarDundee/stardundeespw_usb.cpp @@ -50,6 +50,7 @@ stardundeeSPW_USB::stardundeeSPW_USB(soc stardundeeSPW_USB::~stardundeeSPW_USB() { SocExplorerEngine::message(this,"Deleting stardundeeSPW_USB",0); + delete this->manager; } void stardundeeSPW_USB::toggleBridgeConnection() diff --git a/spwplugin/spwplugin.cpp b/spwplugin/spwplugin.cpp --- a/spwplugin/spwplugin.cpp +++ b/spwplugin/spwplugin.cpp @@ -33,7 +33,6 @@ spwplugin::spwplugin(QWidget *parent):so FakeStarDundeeSpwUSB_Lib::resolve(); this->bridge = Q_NULLPTR; this->scanDone = false; -// this->pyObject = new spwPyWrapper(this); this->tcpServer = new SpwTcpPacketServer(this); this->mainGroupBox = new QGroupBox("SpaceWire Plugin Configuration",this); this->bridgeSelector = new QComboBox(this);