Browse Source

add some more debug printfs

pull/1639/head
bsp2 6 years ago
parent
commit
b8e3df2ce0
1 changed files with 9 additions and 5 deletions
  1. +9
    -5
      other/vst2_debug_host/vst2_debug_host.cpp

+ 9
- 5
other/vst2_debug_host/vst2_debug_host.cpp View File

@@ -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;
}

Loading…
Cancel
Save