mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
Fix segv when switching from a call that was previously hungup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16432 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0ecda2f00a
commit
7793426059
3 files changed
+22
-1
No files matched your search
@@ -211,7 +211,9 @@ void MainWindow::callTableDoubleClick(QTableWidgetItem *item)
|
||||
return;
|
||||
}
|
||||
ui->hangupBtn->setEnabled(true);
|
||||
lastCall.data()->setActive(false);
|
||||
/* Last call was hungup and we are switching */
|
||||
if (!lastCall.isNull())
|
||||
lastCall.data()->setActive(false);
|
||||
call.data()->setActive(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user