Opened 19 years ago

Closed 18 years ago

#169 closed Bugs (Fixed)

signals problems with dll

Reported by: nobody Owned by: Douglas Gregor
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

If I create signal in exe and connect some handlers in dll 
and try destroying signal before disconnect handlers or 
try disconnect it in exe I have runtime error. But if 
disconnect all in dll, all ok.

I think it happened because dll have different memory 
manager.

I think basic_connection must be refcounted  or have 
method like this.
void destroy()
{
	delete this;
}

Best regards,
 WolfHound
wolfhound@mail333.com

PS Sorry for my English.

Change History (2)

comment:1 by nobody, 19 years ago

Logged In: NO 

intrusive_ptr can be ease decision.

Best regards, 
WolfHound 

comment:2 by Douglas Gregor, 18 years ago

Status: assignedclosed
Logged In: YES 
user_id=249098

This was a bug in earlier versions of Signals that has been fixed now. 
Note: See TracTickets for help on using tickets.