public void Dispose() { dteWithEvents.OnBuildDone -= BuildEventsOnOnBuildDone; SaveStepMap(); GherkinProcessingScheduler.Dispose(); if (appConfigTracker != null) { appConfigTracker.FileChanged -= AppConfigTrackerOnFileChanged; appConfigTracker.FileOutOfScope -= AppConfigTrackerOnFileOutOfScope; appConfigTracker.Dispose(); } if (stepSuggestionProvider != null) { stepSuggestionProvider.Dispose(); } if (featureFilesTracker != null) { featureFilesTracker.Ready -= FeatureFilesTrackerOnReady; featureFilesTracker.Dispose(); } if (bindingFilesTracker != null) { bindingFilesTracker.Dispose(); } }
public void Dispose() { GherkinProcessingScheduler.Dispose(); if (appConfigTracker != null) { appConfigTracker.FileChanged -= AppConfigTrackerOnFileChanged; appConfigTracker.FileOutOfScope -= AppConfigTrackerOnFileOutOfScope; appConfigTracker.Dispose(); } if (stepSuggestionProvider != null) { stepSuggestionProvider.Dispose(); } if (featureFilesTracker != null) { featureFilesTracker.Ready -= FeatureFilesTrackerOnReady; featureFilesTracker.Dispose(); } if (bindingFilesTracker != null) { // bindingFilesTracker.Initialized -= FeatureFilesTrackerOnInitialized; bindingFilesTracker.Dispose(); } }