outdoor users(19)

This commit is contained in:
Louis Farina 2021-02-15 17:12:24 +01:00
parent f975bc29d0
commit 03d3c77895

View file

@ -38,9 +38,9 @@ class ReceiveThread extends Thread {
public void run()
{
boolean exit = false;
try
{
while(!exit)
{
try
{
ObjectInputStream in = new ObjectInputStream(socket.getInputStream());
Notification notif = (Notification) in.readObject();
@ -138,13 +138,13 @@ class ReceiveThread extends Thread {
displayArea.setCaretPosition(displayArea.getDocument().getLength());
}
}
}
catch(Exception e)
{
/*e.printStackTrace();
System.out.println("Socket closed");
e.printStackTrace();
/*System.out.println("Socket closed");
dest_sockets.remove(socket);
outdoor_dest_sockets.remove(socket);*/
}
}
}
}