Пример #1
0
static inline void
html_ncdestroy(html_t* html)
{
    if(html->ole_initialized)
        html_OleUninitialize();

    free(html);
}
Пример #2
0
static inline void
html_ncdestroy(html_t* html)
{
    /* Reset window handles for case the html_t survives the window death.
     * That can happen (altough it is probably unlikely) if IE engine holds
     * a reference of any our COM object for a longer time, e.g. because of
     * a multithreading. */
    html->win = NULL;
    html->notify_win = NULL;

    if(html->ole_initialized)
        html_OleUninitialize();

    html_Release(html);
}