You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/18 15:12:52 UTC

[47/50] ignite git commit: Fix nullref

Fix nullref


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

Branch: refs/heads/ignite-2324
Commit: 468b20cadb52e2f935f67681ded9e16d5fbf10b7
Parents: a8315f0
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Thu Jan 14 12:55:39 2016 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Thu Jan 14 12:55:39 2016 +0300

----------------------------------------------------------------------
 .../Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/468b20ca/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs
index fef904b..bbc2dbe 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/Query/Continuous/ContinuousQueryHandleImpl.cs
@@ -192,11 +192,9 @@ namespace Apache.Ignite.Core.Impl.Cache.Query.Continuous
         {
             lock (this)
             {
-                if (_disposed)
+                if (_disposed || _nativeQry == null)
                     return;
 
-                Debug.Assert(_nativeQry != null);
-
                 try
                 {
                     UU.ContinuousQueryClose(_nativeQry);