Diff for /chimera/nsCocoaBrowserService.mm between versions 1.1 and 1.2

version 1.1, 2002/01/31 20:18:48 version 1.2, 2002/02/04 07:24:35
Line 57  nsCocoaBrowserService::nsCocoaBrowserSer Line 57  nsCocoaBrowserService::nsCocoaBrowserSer
   
 nsCocoaBrowserService::~nsCocoaBrowserService()  nsCocoaBrowserService::~nsCocoaBrowserService()
 {  {
     printf("Terminating embedding and shutting down.\n");
   
   NS_TermEmbedding();    NS_TermEmbedding();
 }  }
   
Line 144  nsCocoaBrowserService::InitEmbedding() Line 146  nsCocoaBrowserService::InitEmbedding()
 void  void
 nsCocoaBrowserService::TermEmbedding()  nsCocoaBrowserService::TermEmbedding()
 {  {
     // XXXdwh This is leaking because our refcount isn't just 1.  Probably XPCOM
     // holding the service (e.g., the service manager.
   if (--sNumBrowsers == 0) {    if (--sNumBrowsers == 0) {
     NS_RELEASE(sSingleton);      NS_RELEASE(sSingleton);
   }    }

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>