sipster icon indicating copy to clipboard operation
sipster copied to clipboard

No way to gracefully free allocated resources/connections

Open flekmatik opened this issue 9 years ago • 1 comments

It seems that pjsua2 keeps some resources allocated even when all accounts are unregistered etc

Would it be possible to implement support for libDestroy function? Or is it somehow already accessible? http://www.pjsip.org/pjsip/docs/html/classpj_1_1Endpoint.htm#a5ee37daaeb8f2c00d2adc8fd756fc656 http://www.pjsip.org/docs/book-latest/html/endpoint.html#shutting-down-the-library

flekmatik avatar Dec 30 '15 19:12 flekmatik

Anything is possible. There currently is no binding to libDestroy() if that's what you're looking for. The other objects (e.g. Transported, Account, Call) will eventually have close() methods added too.

mscdex avatar Dec 30 '15 23:12 mscdex