ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [09/13] ignite git commit: IGNITE-1911: hot fix for the situation when a reference to Ignite instance may be set to null
Date Sat, 21 Nov 2015 00:29:14 GMT
IGNITE-1911: hot fix for the situation when a reference to Ignite instance may be set to null


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

Branch: refs/heads/master
Commit: 281b27755394073881194e9ad1f0aa219c14d22e
Parents: f89347f
Author: dmagda <magda7817@gmail.com>
Authored: Sat Nov 21 00:53:22 2015 +0300
Committer: dmagda <magda7817@gmail.com>
Committed: Sat Nov 21 00:53:22 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/281b2775/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
index ae3c8cb..82e476c 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java
@@ -2169,7 +2169,7 @@ class ServerImpl extends TcpDiscoveryImpl {
                         new Thread(new Runnable() {
                             @Override public void run() {
                                 try {
-                                    spi.ignite().close();
+                                    ignite.close();
 
                                     U.log(log, "Stopped the grid successfully in response
to TcpDiscoverySpi's " +
                                         "message worker thread abnormal termination.");


Mime
View raw message