Merge pull request #145 from vibe-d/fixes

Remove invalid assertion.
This commit is contained in:
Sönke Ludwig 2020-05-18 16:37:44 +02:00 committed by GitHub
commit 751091a2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,7 +402,6 @@ package class PosixEventLoop {
auto slot = () @trusted { return &m_fds[fd.value]; } ();
assert(slot.common.validationCounter == fd.validationCounter, "Clearing FD slot for invalid FD");
assert(slot.common.refCount == 0, "Clearing referenced file descriptor slot.");
assert(slot.specific.hasType!T, "Clearing file descriptor slot with unmatched type.");
if (!(slot.common.flags & FDFlags.internal))