void xpcModuleDtor() { // Release our singletons nsXPConnect::ReleaseXPConnectSingleton(); xpc_DestroyJSxIDClassObjects(); }
xpcModuleDtor(nsIModule* self) { // Release our singletons nsXPConnect::ReleaseXPConnectSingleton(); nsXPCThreadJSContextStackImpl::FreeSingleton(); nsJSRuntimeServiceImpl::FreeSingleton(); xpc_DestroyJSxIDClassObjects(); #ifdef XPC_IDISPATCH_SUPPORT nsDispatchSupport::FreeSingleton(); XPCIDispatchClassInfo::FreeSingleton(); #endif }