Merge pull request #2610 from qlyoung/fix-zebra-pthread-crash-shutdown-min

zebra: remove asserts on task nullity
This commit is contained in:
Jafar Al-Gharaibeh 2018-07-03 15:47:23 -05:00 committed by GitHub
commit 94adf8d33e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -618,14 +618,6 @@ static int zserv_handle_client_close(struct thread *thread)
{
struct zserv *client = THREAD_ARG(thread);
/*
* Ensure these have been nulled. This does not equate to the
* associated task(s) being scheduled or unscheduled on the client
* pthread's threadmaster.
*/
assert(!client->t_read);
assert(!client->t_write);
/* synchronously stop thread */
frr_pthread_stop(client->pthread, NULL);