nsIPluginInstance* pluginInstance = (nsIPluginInstance* )instance->pdata;
CPluginInstancePeer* peer = (CPluginInstancePeer*) instance->pdata; nsIPluginInstance* pluginInstance = peer->GetInstance();
NPP_Destroy(NPP instance, NPSavedData** save){//    TRACE("NPP_Destroy\n");        if (instance == NULL)        return NPERR_INVALID_INSTANCE_ERROR;        nsIPluginInstance* pluginInstance = (nsIPluginInstance* )instance->pdata;    pluginInstance->Stop();    pluginInstance->Destroy();    pluginInstance->Release();    instance->pdata = NULL;        return NPERR_NO_ERROR;}