I dunno. Just wanted to see if it is going to work with implicit
exceptions turned off. I rather dance around and fix memory leaks when
they appear than have implicit try-except block in every procedure. I
did measurements once; found out that each try-except adds increases
stack usage by about 60 bytes each.
19.11.2014 23:59, Sven Barth:
On 19.11.2014 17:29, hinsta...@yandex.ru wrote:
Here is the program I've been working on:
https://bitbucket.org/hinst/sillychat
It was created with purpose of demonstrating how reference-counted
objects could be used in a program which actually does something and now
it works more or less.
And it's beautiful
At least someone seems to be having fun with that branch ^^
One question though: Why did you disable implicit exception handling?
This way it's rather likely that there'll be memory leaks if an
exception occurs inside a procedure/method that uses reference counted
objects (or strings or arrays or interfaces for that matter...).
Regards,
Sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel