Thread exits immediately with no reason.

solidstate1991 laszloszeremi at outlook.com
Tue Dec 21 21:15:00 UTC 2021


On Tuesday, 21 December 2021 at 19:00:01 UTC, solidstate1991 
wrote:
> Well, it seems like it's an error on the WASAPI side. I totally 
> disabled error handling (including the switch-case thingy), 
> then GetBuffer returns with an error code indicating buffer is 
> too large.

The solution was to call `ResetEvent()` on the event handle, then 
to tinker a little bit with destructors, etc.


More information about the Digitalmars-d-learn mailing list