mozilla
검색 결과

    NP_Shutdown

    아직 자원 봉사자들이 한국어로 현재 문서를 번역하지 않았습니다. 가입해서 이 문서가 번역되는 일에 함께 해 주세요!

    « Gecko Plugin API Reference « Plug-in Side Plug-in API

    Summary

    Provides global deinitialization for a plug-in.

    Syntax

    #include <npapi.h>
     
    void NP_Shutdown(void);
    

    Windows

    #include <npapi.h>
     
    void WINAPI NP_Shutdown(void);
    

    Description

    The browser calls this function once after the last instance of your plug-in is destroyed, before unloading the plug-in library itself. Use NP_Shutdown to delete any data allocated in NP_Initialize to be shared by all instances of a plug-in.

    If you have defined a Java class for your plug-in, be sure to release it at this time so that Java can unload it and free up memory.

    NOTE: If enough memory is available, the browser can keep the plug-in library loaded if it expects to create more instances in the near future. The browser calls NP_Shutdown only when the library is finally unloaded.

    See also

    NP_Initialize, NPP_Destroy

    문서 태그 및 공헌자

    태그: 
    Contributors to this page: Pmash, Demos, Nickolay, Kazssym, Mgjbot
    최종 변경: Demos,