-
When the user leaves instance’s page which function is called?
-
- NP_Initialize
- NP_Shutdown
- NPP_New
- NPP_Destroy
- None of these
Correct Option: D
When the user leaves instance’s page or closes its window a plug-in instance is deleted. Then Gecko calls the function NPP_Destroy to inform plug-in that the instance is being deleted. Plug-in API calls and callbacks use main Navigator thread.