8 Test() { printf("Test::Test()\n"); }
9 ~Test() { printf("Test::~Test()\n"); destructed = 1; }
13 cleanup_handler(void *arg)
16 printf("%s()\n", __func__);
23 printf("Bug, object destructor is not called\n");
32 printf("Bug, object destructor is not called\n");
33 else if (!destructed2)
34 printf("Bug, cleanup handler is not called\n");