Decreases the object's reference count. If the count gets to zero, the object will be deleted. */
| 80 | If the count gets to zero, the object will be deleted. |
| 81 | */ |
| 82 | void decReferenceCount() noexcept |
| 83 | { |
| 84 | DISTRHO_SAFE_ASSERT_RETURN (getReferenceCount() > 0,); |
| 85 | |
| 86 | if (--refCount == 0) |
| 87 | delete this; |
| 88 | } |
| 89 | |
| 90 | /** Decreases the object's reference count. |
| 91 | If the count gets to zero, the object will not be deleted, but this method |
nothing calls this directly
no test coverage detected