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
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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Hi, I am on todays GIT Head and I do not see this flush() method? I do see Bind() that you recently added though. I am using mod_managed. Is there some I need to do to expose this? Thanks Pj On Tue, May 18, 2010 at 2:25 AM, babak yakhchali <babak.freeswitch@gmail.com
wrote:
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
participants (3)
-
Anthony Minessale
-
babak yakhchali
-
Phillip Jones