[asterisk-commits] branch file/datastores r11057 -
/team/file/datastores/doc/datastores.txt
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Feb 24 21:10:14 MST 2006
Author: file
Date: Fri Feb 24 22:10:13 2006
New Revision: 11057
URL: http://svn.digium.com/view/asterisk?rev=11057&view=rev
Log:
Add a little note so people can't yell at me when their Asterisk machine crashes due to bad programming.
Modified:
team/file/datastores/doc/datastores.txt
Modified: team/file/datastores/doc/datastores.txt
URL: http://svn.digium.com/view/asterisk/team/file/datastores/doc/datastores.txt?rev=11057&r1=11056&r2=11057&view=diff
==============================================================================
--- team/file/datastores/doc/datastores.txt (original)
+++ team/file/datastores/doc/datastores.txt Fri Feb 24 22:10:13 2006
@@ -34,6 +34,9 @@
datastore->destroy = callback_destroy;
ast_channel_datastore_add(chan, datastore);
+NOTE: Because you're passing a pointer to a function in your module, you'll want to include
+this in your use count. When allocated increment, when destroyed decrement.
+
* How do you remove a data store?
1. Find the data store
More information about the asterisk-commits
mailing list