stream: Ignore events after close instead of aborting

Aborting places an unnecessary restriction on the event loop library.
pull/42/head
Andri Yngvason 2020-07-19 13:22:57 +00:00
parent a0801f04e4
commit d4a5ed4133
1 changed files with 0 additions and 2 deletions

View File

@ -236,7 +236,6 @@ static void stream__on_readable(struct stream* self)
break;
#endif
case STREAM_STATE_CLOSED:
abort();
break;
}
}
@ -257,7 +256,6 @@ static void stream__on_writable(struct stream* self)
break;
#endif
case STREAM_STATE_CLOSED:
abort();
break;
}
}