-
Notifications
You must be signed in to change notification settings - Fork 523
Handle Invalid #336
Comments
hmm uv_async_send would be loop disposable; maybe just needs a |
If I add this Assert in I get two asserts running the tests public void async_send(UvAsyncHandle handle)
{
// Can't Assert with .Validate as that checks threadId
// and this function is to post to correct thread.
Debug.Assert(!handle.IsInvalid, "Handle is invalid");
Check(_uv_async_send(handle));
} Checking to see if its tests that are wrong rather than a race condition |
Resolves aspnet#336
Seems to mostly happen when posting close to a closed socket |
Does happen on Windows occasionally also:
|
Resolves aspnet#336
A handle is getting lost somewhere and either finalised or early disposed; it most often shows up on mono and randomly causes tests to fail; mostly tarvis in but occasionally also happens on appveyor.
Haven't be able to track down the cause
e.g. #335 with the following resilts: https://travis-ci.org/aspnet/KestrelHttpServer/builds/89566455
If I submit again it will likely pass the test.
The text was updated successfully, but these errors were encountered: