-
Wim Taymans authored
Avoid playing with the refcount to decide when a buffer has been recycled by the dispose function. The problem is that we then temporarily can have a buffer with a refcount > 1 being acquired from the pool, which is not writable. Instead use a simple boolean return value from the dispose function to inform the called that the object was recycled or not.
ee235a6b