Ticket #12023: CorrectServerStop.patch
| File CorrectServerStop.patch, 873 bytes (added by , 10 years ago) |
|---|
-
src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpServer.java
101 101 Socket request = server.accept(); 102 102 RequestProcessor.processRequest(request); 103 103 } catch (SocketException se) { 104 if (!server.isClosed()) 104 if (!server.isClosed()) { 105 105 Main.error(se); 106 } else { 107 // stop the thread automatically if server is stopped 108 return; 109 } 106 110 } catch (IOException ioe) { 107 111 Main.error(ioe); 108 112 }
