mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
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:
parent
48738bbf63
commit
dc17e16897
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user