> On 11 Sep 2023, at 23:09, [email protected] wrote:
> 
> void accept_callback()
> {
> object tmp= listener->accept();
> if (!tmp) return;
> object conn = Connection(tmp); 
> connections+=({conn});
> //destruct(tmp); <— this was disconnecting, but looking back at an old doc 
> from Hubbe, this was recommended as the Connection class insulation should 
> have already copied and owned the contents of this object; maybe this changed.
> }

Ignore me, the destruct works now with the inheritance as described, seems the 
changes I fiddled in trying to fix the “inherit Stdio.Port;” were the cause of 
all my grief and my code does indeed work exactly as it was back then but just 
changing that top level inherit to a variable.

LN

Reply via email to