Exception chain during call termination
When a call terminates
slotCallEnded()(conversationmodel) is executed. Since false is passed to
getCallFromURI()the call is not found and
std::out_of_rangeis thrown. Consequently callId is set to
selectConversation()is then executed. Since callId has been set to
"", the newcallmodel fails to find the call and
std::out_of_rangeis thrown. What happens is the same as without exception, namely
showChatViewsignal is emitted.
There might be other exceptions thrown under the hood. I understand that the newcallmodel is designed to set the callId to
"" when the call finished, but this has to be done without exceptions.