private void DisposeInstance() { if (Instance != null) { Instance.Dispose(); } if (PendingFilterFuture != null) { PendingFilterFuture.Dispose(); } PendingFilter = CurrentFilter = null; CurrentFilterData = null; HeapFilter.Filter = null; }