reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 0855c9f2d8a357e59e158246de85bb70f9eaccad
parent a4aff87c63ad5e501e3b60347155b442f3716f55
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Mon, 20 Jun 2016 17:59:12 -0400

destroy configuration only after closing all windows

so that the configuration can still be acessed from Dialog::onClose

Diffstat:
Msrc/reapack.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/reapack.cpp b/src/reapack.cpp @@ -98,11 +98,11 @@ ReaPack::ReaPack(REAPER_PLUGIN_HINSTANCE instance) ReaPack::~ReaPack() { + Dialog::DestroyAll(); + m_config->write(); delete m_config; - Dialog::DestroyAll(); - Download::Cleanup(); delete m_useRootPath;