[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault when embedding the interpreter
From: |
c. |
Subject: |
Re: segfault when embedding the interpreter |
Date: |
Sat, 12 Oct 2013 17:09:43 +0200 |
On 12 Oct 2013, at 15:42, John W. Eaton <address@hidden> wrote:
> So, hmm. If objects do need to be cleaned up in a specific order,
> then perhaps calling cleanup_and_exit is necessary.
It seems this is the case as with the attached change I get no segfault anymore:
$ mkoctfile --link-stand-alone embedded.cc -o embedded
$ ./embedded
GCD of [10, 15] is 5
$
should I push the change to embedded.cc or try to find out by bisection
why clean_up_and_exit is now required?
Thanks,
c.
open_q1tVkzm1.txt
Description: Text document