diff --git a/other/vst2_debug_host/vst2_debug_host.cpp b/other/vst2_debug_host/vst2_debug_host.cpp index 5672c411..a1167025 100644 --- a/other/vst2_debug_host/vst2_debug_host.cpp +++ b/other/vst2_debug_host/vst2_debug_host.cpp @@ -213,11 +213,14 @@ void open_and_close(void) { printf("[---] failed to find mainProc\n"); } + printf("xxx debug_host: closing library\n"); + #ifdef YAC_WIN32 ::FreeLibrary(dllHandle); #else ::dlclose(dllHandle); #endif + printf("xxx debug_host: library closed\n"); } for(int i = 0; i < 48; i++) @@ -231,10 +234,11 @@ void open_and_close(void) { #endif } - int main() { - for(int i = 0; i < 5; i++) - { - open_and_close(); - } +int main() { + for(int i = 0; i < 5; i++) + { + open_and_close(); + } + printf("xxx debug_host: exiting\n"); return 0; }