Issue with socket recieve

Adam D. Ruppe destructionator at gmail.com
Thu Jan 21 03:35:05 UTC 2021


On Thursday, 21 January 2021 at 03:24:13 UTC, Tim wrote:
> No, I don't. It should be all garbage collected right?

Yeah, but that's where the problem comes.

Note that by destructor, I mean *any* function in your code 
called `~this() {}`. If there are any and they call a memory 
allocation function, that's how you get the 
InvalidMemoryOperationError.

I'd have to look up if there's any other causes of that...




More information about the Digitalmars-d-learn mailing list