title: In Declarative Services. When a service is deactivated, when are references to it removed?
body: <p>If I have a service A which is referenced by some other component (called B), at which point will B's reference to A become null?</p>
  
  <p>-Before the deactivate method of A is called?</p>
  
  <p>-After the deactivate method of A is called, finished?</p>
  
  <p>-After the instance of the object is destroyed?</p>
  
  <p>I went through the compendium spec but I could not find details about this. I would be thankful if someone could clarify it for me.</p>
  
  <p>Also, when a service A is activated when is it injected as reference to B? before or after the activate method?</p>