Re: Pike 8.0: Sql.pgsql objects don't get garbage collected?
"Stephen R. van den Berg" <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Martin Nilsson (Coppermist) @ Pike (-) importm?te f?r mailinglistan wrote: >>Anticipated and fixed. In fact I was wondering about Pike not complaining >>about this in the non-debug version. >There needs to be a fix in the C code, which I don't see checked in. What the Pike code does is access classmembers of an object after the object has been destructed. That should result in runtime errors in a non-debug version of Pike (I'd say). But, since I'm fixing the PostgreSQL driver here, I need to prevent it from accessing members in destructed objects, instead of fixing Pike to give proper runtime error messages. -- Stephen.