mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
Do not warn if exception on socket close (gateway restart)
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@74 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
f8d4694ef7
commit
81ad8b85c5
@ -51,7 +51,10 @@ public abstract class AbstractServer extends Thread {
|
|||||||
System.gc();
|
System.gc();
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
// do not warn if exception on socket close (gateway restart)
|
||||||
|
if (!serverSocket.isClosed()) {
|
||||||
DavGatewayTray.warn("Exception while listening for connections", e);
|
DavGatewayTray.warn("Exception while listening for connections", e);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
try {
|
try {
|
||||||
if (clientSocket != null) {
|
if (clientSocket != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user