Re: [Vala] Another interesting List error
- From: Jürg Billeter <j bitron ch>
- To: Cayle Graumann <cayle graumann gmail com>
- Cc: vala <vala paldo org>
- Subject: Re: [Vala] Another interesting List error
- Date: Sat, 02 Sep 2006 21:00:16 +0200
On Don, 2006-08-31 at 10:12 +0200, Jürg Billeter wrote:
On Mit, 2006-08-30 at 22:38 -0500, Cayle Graumann wrote:
The problem lies in the makeList() method in combination with the
unfinished work regarding memory management in generic containers. What
currently happens is that ListElement instances get destroyed right
after adding them to the list. The reason is that generic type arguments
default not to be owned by the container in local variables, they
default to be owned by the container in fields, though. I will probably
change it to always default to be owned as this seems to be a more
sensible and not that irritating default.
Fixed in SVN.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]