avoiding early destruction of code objects list (#847)

[ROCm/rocprofiler-sdk commit: 358c599c3f]
This commit is contained in:
Vladimir Indic
2024-05-08 11:00:08 +02:00
committed by GitHub
parent 4cd076b9cc
commit c28c399b84
2 changed files with 6 additions and 4 deletions
@@ -405,7 +405,6 @@ get_code_objects()
{
static auto*& _v =
common::static_object<common::Synchronized<code_object_array_t>>::construct();
static auto _dtor = common::scope_destructor{[]() { finalize(); }};
return _v;
}