You must delete the long tap detector after it is not used any more. You can do this in the client class destructor.
CMyContainer::~CMyContainer()
{
delete iLongTapDetector;
}
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.