Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


How to clean up with FinalClose()

To ensure that ECom unloads plug-in DLLs when they are no longer required, and releases associated memory, clients should follow these cleanup rules:

Note that FinalClose() must never be called from within the destructor of an interface or plug-in implementation class. This could unload the DLL containing the destructor code and cause a system crash.