Commit 2263d5e6 authored by Daniel Agar's avatar Daniel Agar

mocklink fix

parent 053386b7
......@@ -98,6 +98,7 @@ MockLink::MockLink(MockConfiguration* config) :
MockLink::~MockLink(void)
{
qDebug() << "MockLink destructor";
_disconnect();
}
......@@ -121,7 +122,8 @@ bool MockLink::_disconnect(void)
{
if (_connected) {
_connected = false;
exit();
quit();
wait();
emit disconnected();
}
......
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