]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4872: Remove Protected_scm destructor
authorDavid Kastrup <dak@gnu.org>
Wed, 1 Jun 2016 15:16:43 +0000 (17:16 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 6 Jun 2016 08:03:50 +0000 (10:03 +0200)
commitb3100a922eccf4ecc0570d3859959113267e017f
tree492eb7da5f0018b4f4b00f35cefb18b70ebf5f53
parentec9544e67d66912801c9004f417b00e7867e10b5
Issue 4872: Remove Protected_scm destructor

Protected_scm works only for static data and single members cannot
be destructed without destroying the whole protection chain.  When
static member destructors are called, the Guile memory subsystem
is already down, so tampering with the storage is just a waste of
effort and snake oil at best.
lily/include/protected-scm.hh
lily/protected-scm.cc