Vibe.d WebSockets crashing the thread

Sebastiaan Koppe mail at skoppe.eu
Fri Mar 22 22:51:11 UTC 2019


On Friday, 22 March 2019 at 20:59:33 UTC, a wrote:
> On Friday, 22 March 2019 at 20:49:52 UTC, Sebastiaan Koppe 
> wrote:
> Hm, I might have to do that. But would that explain why is 
> works fine for a little while before crashing?

What I forgot to mention is that you are calling methods on the 
socket from two threads, and I dont think those methods are 
thread safe. Which would explain the random crashes.


More information about the Digitalmars-d mailing list