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 <ptupit...@gridgain.com> Authored: Thu Jan 14 12:55:39 2016 +0300 Committer: Pavel Tupitsyn <ptupit...@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);