Exception chain during call termination
When a call terminates
-
slotCallEnded()
(conversationmodel) is executed. Since false is passed togetCallFromURI()
the call is not found andstd::out_of_range
is thrown. Consequently callId is set to""
. -
selectConversation()
is then executed. Since callId has been set to""
, the newcallmodel fails to find the call andstd::out_of_range
is thrown. What happens is the same as without exception, namelyshowChatView
signal 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.