From ef2c0fca9a78d694bfe0a8fdecc945e2abf0bb45 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 31 Jan 2021 13:45:34 -0500 Subject: [PATCH] Fix assertion violation on shutdown after commit 21296b0 --- src/widgets/FileHistory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/FileHistory.cpp b/src/widgets/FileHistory.cpp index 98c62b0c6..9cb1914ff 100644 --- a/src/widgets/FileHistory.cpp +++ b/src/widgets/FileHistory.cpp @@ -143,6 +143,8 @@ void FileHistory::Save(wxConfigBase & config, const wxString & group) } config.SetPath(wxT("")); + + config.Flush(); } void FileHistory::NotifyMenus()