Skip to content

Commit 49526b9

Browse files
Correct destructor of debug settings manager of libocloc
Resolves: NEO-4918 Change-Id: I014926b08bad4e6be31752d1a5eb054412229ef5 Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent 51d00db commit 49526b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shared/offline_compiler/source/offline_compiler_helper.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ DebugSettingsManager<DebugLevel>::DebugSettingsManager(const char *registryPath)
1616
}
1717

1818
template <DebugFunctionalityLevel DebugLevel>
19-
DebugSettingsManager<DebugLevel>::~DebugSettingsManager() = default;
19+
DebugSettingsManager<DebugLevel>::~DebugSettingsManager() {
20+
readerImpl.reset();
21+
};
2022

2123
// Global Debug Settings Manager
2224
DebugSettingsManager<globalDebugFunctionalityLevel> DebugManager("");

0 commit comments

Comments
 (0)