[svn-commits] kmoore: branch kmoore/channel-state-caching r380965 - /team/kmoore/channel-st...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 6 09:04:28 CST 2013


Author: kmoore
Date: Wed Feb  6 09:04:24 2013
New Revision: 380965

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380965
Log:
Remove the snapshot blob from the cache drop

The snapshot itself is not strictly necessary for dropping the item
from the cache since only the channel name is used for hashing in the
cache.

Modified:
    team/kmoore/channel-state-caching/main/manager.c

Modified: team/kmoore/channel-state-caching/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/channel-state-caching/main/manager.c?view=diff&rev=380965&r1=380964&r2=380965
==============================================================================
--- team/kmoore/channel-state-caching/main/manager.c (original)
+++ team/kmoore/channel-state-caching/main/manager.c Wed Feb  6 09:04:24 2013
@@ -7524,8 +7524,6 @@
 		/* drop the cache for this channel */
 		ast_event_drop_cached(AST_EVENT_CHANNEL_STATE,
 			AST_EVENT_IE_CEL_CHANNAME,        AST_EVENT_IE_PLTYPE_STR, new_snapshot->name,
-			AST_EVENT_IE_CHANNEL_STATE,       AST_EVENT_IE_PLTYPE_RAW_LOCAL, new_snapshot, sizeof(*new_snapshot),
-				ast_channel_snapshot_copy, ast_channel_snapshot_cmp, ast_channel_snapshot_destroy,
 			AST_EVENT_IE_END);
 	}
 




More information about the svn-commits mailing list