I have a B2B application running.  Every now and again, I am having an
issue with some threads got getting destroyed.  From what I can tell, it
appears that it is the second legs that stays open.

>From what I see the 

  AmSession::sess_stopped = False;
  AmSession::detached = True;
  AmSipDialog::status = Disconnected/0;

void AmSession::run()
{ 

...
      while (!sess_stopped.get() || 
             (dlg.getStatus() == AmSipDialog::Disconnecting)//  ||
             // (dlg.getUACTransPending())
             ){

-->     waitForEvent();
        processEvents();

        DBG("%s dlg.getUACTransPending() = %i\n",
            dlg.callid.c_str(),dlg.getUACTransPending());
      }
 ...
}

And is stuck waiting for events().  Any ideas?

Peter

_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to