Browse Source

Fix being trashed when closing session

master
boisso 7 years ago
parent
commit
2e840df4cf
  1. 8
      k-meleon/HiddenWnd.cpp

8
k-meleon/HiddenWnd.cpp

@ -346,5 +346,11 @@ LRESULT CHiddenWnd::OnDeferSaveAs(WPARAM wParam, LPARAM lParam)
void CHiddenWnd::OnEndSession(BOOL bEnding)
{
CFrameWnd::OnEndSession(bEnding);
if (!bEnding) return;
theApp.plugins.SendMessage("*", "* Plugin Manager", "Quit");
theApp.favicons.WriteCache();
theApp.preferences.Flush();
XRE_TermEmbedding();
theApp.plugins.UnLoadAll();
}

Loading…
Cancel
Save