fix for 15073. Approved chofmann, reviewed by Steve Morse.

This commit is contained in:
neeti%netscape.com 1999-09-28 22:33:22 +00:00
Родитель 1137a05f96
Коммит a4e884ce15
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -50,15 +50,6 @@ nsWalletlibService::nsWalletlibService()
nsWalletlibService::~nsWalletlibService()
{
nsIObserverService *svc = 0;
nsresult rv = nsServiceManager::GetService( NS_OBSERVERSERVICE_PROGID,
nsIObserverService::GetIID(),
(nsISupports**)&svc );
if ( NS_SUCCEEDED( rv ) && svc ) {
nsString topic(NS_FORMSUBMIT_SUBJECT);
rv = svc->RemoveObserver( this, topic.GetUnicode());
nsServiceManager::ReleaseService( NS_OBSERVERSERVICE_PROGID, svc );
}
}
NS_IMETHODIMP