comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: Using Class wide types as factories, is this legit?
Date: Tue, 23 Sep 2014 01:37:06 -0700 (PDT)
Date: 2014-09-23T01:37:06-07:00	[thread overview]
Message-ID: <ab00edd7-c4ed-418b-b8d2-3069498f4a45@googlegroups.com> (raw)
In-Reply-To: <14aahny7n1xxq.12aqg1nr0sro0$.dlg@40tude.net>

The implementation of controlled types has changed, so it is indeed possible that the Finalize calls have changed.
Note the following in the ARM 7.6.1, note 24:  "Finalize procedure should be designed to have no ill effect if it is applied a second time to the same object".
So here is is possible that Finalize is indeed called twice and your Finalize call is not protected.

You could also try that part of the code on linux, with valgrind


  parent reply	other threads:[~2014-09-23  8:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  5:19 Using Class wide types as factories, is this legit? David Botton
2014-09-23  7:23 ` Dmitry A. Kazakov
2014-09-23  8:21   ` David Botton
2014-09-23 19:28     ` Dmitry A. Kazakov
2014-09-23 21:27       ` David Botton
2014-09-24  7:22         ` Dmitry A. Kazakov
2014-09-23  8:37   ` briot.emmanuel [this message]
2014-09-23  8:52     ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox