On 3/13/08, Jo?o Mesquita <jmesquita at contactnet.com.br> wrote: > I am developing a GTK based softphone using py_pjsua and I am having a > little problem on cleanly exiting the application by calling the > destroy() method of pjsip. It does not block the program and gtk.quit() > is called right after even tho the process is not yet ready to terminate > providing to the user a "Application Not Responding" window untill pjsua > gets correctly cleaned. I think I heard similar problem in the past. Have you terminated the worker thread before calling destroy()? cheers, -benny