[Freeswitch-svn] [commit] r5533 - freeswitch/trunk/scripts/contrib/trixter

Freeswitch SVN trixter at freeswitch.org
Thu Jul 12 21:37:11 EDT 2007


Author: trixter
Date: Thu Jul 12 21:37:10 2007
New Revision: 5533

Modified:
   freeswitch/trunk/scripts/contrib/trixter/asyncsock.pl

Log:
minor tweaks


Modified: freeswitch/trunk/scripts/contrib/trixter/asyncsock.pl
==============================================================================
--- freeswitch/trunk/scripts/contrib/trixter/asyncsock.pl	(original)
+++ freeswitch/trunk/scripts/contrib/trixter/asyncsock.pl	Thu Jul 12 21:37:10 2007
@@ -66,7 +66,6 @@
 $o = $fs->raw_command("myevents");
 
 $timer = threads->new(\&timeoutHandler);
-$timer->detach;
 
 
 # event-date-timestamp
@@ -100,5 +99,5 @@
 
 $done=1;
 $fs->disconnect();
-sleep 3; # wait for the other thread to exit
+$timer->join;
 print "done\n";



More information about the Freeswitch-svn mailing list