]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/protected-scm.cc
Issue 4872: Remove Protected_scm destructor
[lilypond.git] / lily / protected-scm.cc
index 225c64dc60fc220bf03910f25575a539a3ecbdfd..6f6ce7c7442152fbd6def56d62e1fd49b24a4b5d 100644 (file)
@@ -37,15 +37,6 @@ Protected_scm::Protected_scm (SCM s)
   assert (SCM_IMP (s));
 }
 
-// For static objects, this will be called at program exit.  With the
-// state of the memory system unknown, we refrain from any cleanup
-// actions outside of the object memory itself.
-
-Protected_scm::~Protected_scm ()
-{
-  object_ = SCM_UNDEFINED;
-}
-
 SCM Protected_scm::list_ = SCM_EOL;
 SCM Protected_scm::last_ = SCM_EOL;