Bug 57764. Call UnregisterDataSource() in dtor. r=rjc, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@235704 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0570976a7a
commit
ab57f747fd
@ -1594,6 +1594,11 @@ nsBookmarksService::~nsBookmarksService()
|
||||
mTimer->Cancel();
|
||||
mTimer = nsnull;
|
||||
}
|
||||
|
||||
// Unregister ourselves from the RDF service
|
||||
if (gRDF)
|
||||
gRDF->UnregisterDataSource(this);
|
||||
|
||||
// Note: can't flush in the DTOR, as the RDF service
|
||||
// has probably already been destroyed
|
||||
// Flush();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user