harvesterplugins/bookmarks/src/bookmarksplugin.cpp
changeset 9 4a2987baf8f7
parent 5 3bc31ad99ee7
child 26 367228f82b66
equal deleted inserted replaced
8:2f67eb14d003 9:4a2987baf8f7
    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();