< Previous by Date Date Index Next by Date >
  Thread Index  

Re: [reSIProcate-users] What is the correct way to end all calls when shutting down the application?


I've changed Hangup() method otherwise it causes assert in iterator:

    while (mDialogSetMap.size() > 0)
    {
      AppDialogSetHandle dsh = mDialogSetMap.begin()->second;
      dsh->end();
      // will be removed in onTerminated
    }