if you update to latest the eventConsumer has a flush() method to remove all events
also it should do this when you destroy the object.


On Sun, May 16, 2010 at 4:07 AM, babak yakhchali <babak.freeswitch@gmail.com> wrote:
Hi
I'm using mod_managed and I've used EventConsumer on a thread to listen for incomming events but whenever I wanna reload the .dll file of my script it complains about thread aborting. I used a dummy custom:dead event to end the thread but next time my dll loaded the custom:dead event is still in events and the tread ends. Is there any workaround to flush EventConsumer??
Thanks

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900