/// <summary> /// When overridden in a derived class, destroys the hosted window. /// </summary> /// <param name="hwnd">A structure that contains the window handle.</param> protected override void DestroyWindowCore(HandleRef hwnd) { _logger.Info("Destroying window core for Hwnd {0}", hwnd.Handle); _addin.ShutDown(); }