summaryrefslogtreecommitdiffhomepage
path: root/options/scoped.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/scoped.cpp')
-rw-r--r--options/scoped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/scoped.cpp b/options/scoped.cpp
index f5e219e2..9cbc826c 100644
--- a/options/scoped.cpp
+++ b/options/scoped.cpp
@@ -47,7 +47,7 @@ static bool is_tracker_teardown()
opts::~opts()
{
- if (!is_tracker_teardown())
+ if (!is_tracker_teardown() && raii)
b->reload();
#if 0
else