lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Context_handle


From: Dan Eble
Subject: Context_handle
Date: Sun, 8 Jul 2018 14:07:25 -0400

What is the purpose of Context_handle?  It looks like a scoped contribution to 
a reference count until the destructor:

> Context_handle::~Context_handle ()
> {
>   /*
>     Don't do
>     if (outlet_)
>     down ();
>     with GC, this is asynchronous.
>   */
> }

I can understand garbage collection, and I can imagine coordinating garbage 
collection with reference counting, but coordinating garbage collection with 
leaky reference counting is hard to appreciate.
— 
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]