CategorySearch::~CategorySearch(void)
{
+ DeviceManager::RemoveDeviceEventListener(DEVICE_TYPE_STORAGE_CARD, *this);
+
if (__pHomeButton != null)
{
delete __pHomeButton;
if(_pFileEventManager != null)
_pFileEventManager->RemovePath(_pathOfSelectedFile);
+ DeviceManager::RemoveAllDeviceEventListeners();
+
if (_pIconListView != null)
{
_pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);