Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-05-12
02:27 • Closed ticket [1962023fff]: Con/Destructor of mixin class not called plus 7 ... artifact: 4715b37308 user: das
2008-05-11
19:17 • New ticket [1962023fff]. artifact: c77c38c4a6 user: das

Con/Destructor of mixin class not called

Closed / Fixed1962023fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-05-11 19:17:22
Constructors and destructors of a mixed in class are not called when instances of the destination class are created/destroyed.

I'd argue that they should be, given that mixin methods can access instance variables of the mixin class, which may need to be setup/torn down.

FWIW, that is also what XOTcl does in this situation.
dasplain2008-05-12 02:27:04
Logged In: YES 
user_id=90580
Originator: YES

oops, looks like you just fixed this one as part of the [Bug 1960703] commit, closing.
Log in (anonymous is fine) to add a comment.