/// <summary> /// Uninitialize method. Make sure the module unsubscribes from the events. /// </summary> protected override void Uninitialize() { base.Uninitialize(); ProjectOpenedEvent.Unsubscribe(OnProjectOpen); ProjectClosedEvent.Unsubscribe(OnProjectClosed); }
protected override void Uninitialize() //unsubscribe to the project opened event { ProjectOpenedEvent.Unsubscribe(OnProjectOpened); //unsubscribe return; }