diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-2D8A7DCE-47A2-4326-BF2F-B4901F1723A0.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-2D8A7DCE-47A2-4326-BF2F-B4901F1723A0.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,22 @@ + + + + + +Releasing +the instance +

When the CHWRMVibra instance is not required +anymore, it must be released. If the vibration feature is still reserved to +the client it is released when the instance is released.

The following +code snippet demonstrates how to release the instance created by using NewLC():

CleanupStack::PopAndDestroy( vibra );

The following code snippet demonstrates how to release the instance created +by using NewL():

CVibraStatusObserver::~CVibraStatusObserver() + { + delete iVibra; + }
+
\ No newline at end of file