~phablet-team/telepathy-ofono/staging

« back to all changes in this revision

Viewing changes to ofonoconferencecallchannel.cpp

  • Committer: Gustavo Pichorim Boiko
  • Date: 2016-10-27 12:12:37 UTC
  • mfrom: (178.1.1 fix_unit_tests)
  • Revision ID: gustavo.boiko@canonical.com-20161027121237-d70f6u9otbps1ug0
Leave the channels opened for a bit more time to make sure the state change gets fired and delivered correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
        reason.DBusReason = "";
120
120
 
121
121
        mCallChannel->setCallState(Tp::CallStateEnded, 0, reason, stateDetails);
122
 
        mBaseChannel->close();
 
122
        // just in case, delay the channel closing by 1 second
 
123
        QTimer::singleShot(1000, [=]() {
 
124
            mBaseChannel->close();
 
125
        });
123
126
    }
124
127
}
125
128