ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [08/53] [abbrv] incubator-ignite git commit: # IGNITE-943 Fix tests.
Date Mon, 01 Jun 2015 11:45:00 GMT
# IGNITE-943 Fix tests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4117f686
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4117f686
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4117f686

Branch: refs/heads/ignite-sprint-5
Commit: 4117f686300ca138fcda4a5adbe6ee0c2fc48ff4
Parents: bf0e157
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Wed May 27 17:17:53 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Wed May 27 17:17:53 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4117f686/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
index 922c496..90ab05a 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
@@ -1582,7 +1582,8 @@ public class TcpDiscoverySpi extends IgniteSpiAdapter implements DiscoverySpi,
T
 
         unregisterMBean();
 
-        impl.spiStop();
+        if (impl != null)
+            impl.spiStop();
     }
 
     /**


Mime
View raw message