Socket handle leak and active handle warning with Vibe-D

aberba karabutaworld at gmail.com
Sun Jan 3 23:53:54 UTC 2021


On Friday, 1 January 2021 at 22:07:28 UTC, Selim Ozel wrote:
> I created the simplest possible example as explained by the 
> Vibe-D community in [1]. The exact source code of what I run is 
> in [2].
>
> On Windows I get a socket handle leak warning on shutdown with 
> crtl+c from terminal after running the executable.
>
>> [...]
>
> On Ubuntu 20.04 I get leaking drivers warning with the same 
> process.
>>    [...]
>
> I really don't know what this is all about but it is at the 
> core of my Vibe-D development. So any pointers you might have 
> would be very helpful to me.
>
> Thanks in advance.
>
> S
>
> [1] 
> https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d
> [2] https://github.com/SelimOzel/vibe_noLeaks

Add this to your dub.json file to fix it

"versions": [ "VibeHighEventPriority" ]


This issue should be fixed in next vibe.d release


More information about the Digitalmars-d-learn mailing list