signal: cleanup allocations / reset globals in test

I conserve these cleanups to enable the looped execution of all test
functions as I did to hunt a bug. The loop can easily be added to
main().
This commit is contained in:
Christian Helmuth 2015-12-10 13:17:11 +01:00
parent 48738bbf63
commit dc17e16897

View File

@ -529,6 +529,9 @@ static void check_context_management()
printf("destroy sender\n");
destroy(env()->heap(), sender);
destroy(env()->heap(), context);
destroy(env()->heap(), rec);
}
@ -596,6 +599,7 @@ static void synchronized_context_destruction_test()
}
signal_context_destroyer.join();
signal_context_destroyed = false;
}