Author: dbkr
Date: 2008-01-28 09:31:08 +0000 (Mon, 28 Jan 2008)
New Revision: 17342
Modified:
trunk/apps/Freemail/src/freemail/fcp/FCPConnection.java
Log:
Another NPE dodger.
Modified: trunk/apps/Freemail/src/freemail/fcp/FCPConnection.java
===================================================================
--- trunk/apps/Freemail/src/freemail/fcp/FCPConnection.java 2008-01-28
01:15:27 UTC (rev 17341)
+++ trunk/apps/Freemail/src/freemail/fcp/FCPConnection.java 2008-01-28
09:31:08 UTC (rev 17342)
@@ -120,7 +120,7 @@
stopping = true;
try {
// we can safely close the socket from this thread: any
read operations other threads are in will throw a SocketException
- conn.close();
+ if (conn != null) conn.close();
} catch (IOException ioe) {
// ignore
}