Object destruction versus finalization

Dicebot public at dicebot.lv
Tue Nov 12 15:22:16 PST 2013


On Tuesday, 12 November 2013 at 22:40:26 UTC, Florian wrote:
> The example below prints the following output:
>     ~Connection
>     ~Session
>     segmentation fault

Same example prints this for me (no segfault):

~Session
shutdown
~Connection

2.064.2 @ linux-64

What is your system / compiler? Output does not seem right at all.


More information about the Digitalmars-d-learn mailing list