summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-03-28 07:32:42 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-03-28 07:32:42 +0000
commit7d69da12d3c52fbd1ebea6f4a6a56d9595c05078 (patch)
tree95023be1918dab5aa4ddd41e3673de9255cad2c5 /pjsip/include
parent4db56d31d12520c8221ccf846af4e5138e12695c (diff)
Re #1466: Moved down the atexit callbacks execution in pjmedia & pjsip endpoints to the very end of endpoint destroy sequence.
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3988 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsip/sip_endpoint.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pjsip/include/pjsip/sip_endpoint.h b/pjsip/include/pjsip/sip_endpoint.h
index bc652e60..c6cf6d65 100644
--- a/pjsip/include/pjsip/sip_endpoint.h
+++ b/pjsip/include/pjsip/sip_endpoint.h
@@ -520,7 +520,10 @@ PJ_DECL(void) pjsip_endpt_dump( pjsip_endpoint *endpt, pj_bool_t detail );
/**
* Register cleanup function to be called by SIP endpoint when
- * #pjsip_endpt_destroy() is called.
+ * #pjsip_endpt_destroy() is called. Note that application should not
+ * use or access any endpoint resource (such as pool, ioqueue, timer heap)
+ * from within the callback as such resource may have been released when
+ * the callback function is invoked.
*
* @param endpt The SIP endpoint.
* @param func The function to be registered.