diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-FE403A48-AF5A-4032-A724-680431A52B7C.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-FE403A48-AF5A-4032-A724-680431A52B7C.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,24 @@ + + + + + +Releasing +the instance of Extended Light API +

When the CHWRMExtendedLight instance is +not required anymore, it must be released. If some target is still reserved +to the client, the target is released when the instance is released.

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

CleanupStack::PopAndDestroy( light );

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

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