harvesterplugins/bookmarks/src/bookmarksplugin.cpp
changeset 12 993ab30e92fc
parent 5 3bc31ad99ee7
child 26 367228f82b66
equal deleted inserted replaced
11:773be20e0a25 12:993ab30e92fc
    67 // -----------------------------------------------------------------------------
    67 // -----------------------------------------------------------------------------
    68 CBookmarksPlugin::~CBookmarksPlugin()
    68 CBookmarksPlugin::~CBookmarksPlugin()
    69 	{
    69 	{
    70 	if (iAsynchronizer)
    70 	if (iAsynchronizer)
    71         iAsynchronizer->CancelCallback();
    71         iAsynchronizer->CancelCallback();
    72 	iFavoritesNotifier->Cancel();
    72 	if ( iFavoritesNotifier )
       
    73 	    iFavoritesNotifier->Cancel();
    73 	delete iFavoritesNotifier;
    74 	delete iFavoritesNotifier;
    74 	delete iAsynchronizer;
    75 	delete iAsynchronizer;
    75 	delete iIndexer;
    76 	delete iIndexer;
    76 	delete iArrUidsCurrentBookmarkList;
    77 	delete iArrUidsCurrentBookmarkList;
    77 	iFavouritesDb.Close();
    78 	iFavouritesDb.Close();