Issue with socket recieve

Tim tim.oliver at tutanota.com
Thu Jan 21 03:38:53 UTC 2021


On Thursday, 21 January 2021 at 03:35:05 UTC, Adam D. Ruppe wrote:
> 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...

I am aware of this, there is absolutely no ~this in *my* code


More information about the Digitalmars-d-learn mailing list