vibe-d / eventcore

High performance proactor event loop abstraction library
MIT License
60 stars 42 forks source link

DNS allocateHandle(): Don't return handle in use #153

Closed AndrejMitrovic closed 4 years ago

AndrejMitrovic commented 4 years ago

This is a second attempt at fixing the issue originally mentioned in PR #152.

I still can't figure out from the code flow how result can be set but where the callback isn't set. It doesn't seem like it should be possible.

So this fix is just an attempt at fixing the symptom, not the underlying problem.

AndrejMitrovic commented 4 years ago

@Geod24 what do you think we try this?