Skip to content

Commit

Permalink
Telemertry portion segfault fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaRogachev committed Aug 10, 2017
1 parent 1fc4897 commit 261c9ae
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ TelemetryPortion::TelemetryPortion(Telemetry* node):

TelemetryPortion::~TelemetryPortion()
{
if (m_node) m_node->notify();
if (m_node)
{
QMetaObject::invokeMethod(m_node, "notify", Qt::QueuedConnection);
}
}

0 comments on commit 261c9ae

Please sign in to comment.