diff options
Diffstat (limited to 'logic/runtime-libraries.cpp')
-rw-r--r-- | logic/runtime-libraries.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp index eb5f02cc..a04da6a2 100644 --- a/logic/runtime-libraries.cpp +++ b/logic/runtime-libraries.cpp @@ -10,9 +10,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli { using namespace options; - const bool prev_teardown_flag = opts::is_tracker_teardown(); - - opts::set_teardown_flag(true); + with_tracker_teardown sentinel; pProtocol = make_dylib_instance<IProtocol>(p); @@ -42,6 +40,6 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli correct = true; end: - opts::set_teardown_flag(prev_teardown_flag); + (void)0; } |