зеркало из https://github.com/mozilla/pjs.git
fix for 15073. Approved chofmann, reviewed by Steve Morse.
This commit is contained in:
Родитель
1137a05f96
Коммит
a4e884ce15
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче