Destructor. */
| 109 | |
| 110 | /** Destructor. */ |
| 111 | virtual ~ReferenceCountedObject() |
| 112 | { |
| 113 | // it's dangerous to delete an object that's still referenced by something else! |
| 114 | DISTRHO_SAFE_ASSERT (getReferenceCount() == 0); |
| 115 | } |
| 116 | |
| 117 | /** Resets the reference count to zero without deleting the object. |
| 118 | You should probably never need to use this! |
nothing calls this directly
no test coverage detected