View Single Post
  #11 (permalink)  
Old 08-31-2008, 11:12 PM
Nicholas Jordan's Avatar
Nicholas Jordan Nicholas Jordan is offline
Senior Member
 
Join Date: Jun 2008
Location: Southwest
Posts: 879
Nicholas Jordan is on a distinguished road
quit does not call stop
Code:
if (inMessage.equals("/#quit")) { output.writeChars("/#quit\n"); System.out.println("Attempting quit."); }
Shouldn't this be:
Code:
if (inMessage.equals("/#quit")) { output.writeChars("El intentar parado, amigos mas fina.\n"); System.out.println("Attempting quit."); stopThread(); }
Also, it should not be needful to do while(true); in a properly threaded codebase. In general such things should be fixed as they may conceal un-expected changes when fixed later.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Reply With Quote