disabling destruction

Change-Id: I2a7d05a8f597b3bc8bd07bffe7181f9dcace1cbf
This commit is contained in:
Evgeny
2020-05-07 03:34:30 -05:00
rodzic cee1be4739
commit 9950b97567
4 zmienionych plików z 78 dodań i 4 usunięć
+3 -1
Wyświetl plik
@@ -1241,6 +1241,7 @@ void rocprofiler_unload(bool is_destr) {
}
fflush(stdout);
#if 0
// Cleanup
if (callbacks_data != NULL) {
delete[] callbacks_data->features;
@@ -1255,8 +1256,9 @@ void rocprofiler_unload(bool is_destr) {
kernel_string_vec = NULL;
delete range_vec;
range_vec = NULL;
if (!is_destr) delete context_array;
delete context_array;
context_array = NULL;
#endif
ONLOAD_TRACE_END();
}