check if no tasks are left after the driver loop
authorlurchi <lurchi@strangeplace.net>
Sun, 21 Jan 2018 12:32:36 +0000 (13:32 +0100)
committerlurchi <lurchi@strangeplace.net>
Sun, 21 Jan 2018 12:32:36 +0000 (13:32 +0100)
commit82ab83fc0eb2778b04e4d41e87031ba2d8c3501d
tree942aaad57bc823b532c99eb1baf69059ee1e01d8
parentf7fc4ee069592858798a94b0b9373d45024ce7b7
check if no tasks are left after the driver loop

- add assertions to make sure all tasks have been run or cancelled
- don't cancel all pending tasks during shutdown, only cancel the two
internal tasks scheduled in GNUNET_SCHEDULER_run_with_driver
src/util/scheduler.c