| 142 | } |
| 143 | |
| 144 | int ReplPlugin::release() |
| 145 | { |
| 146 | WriteLog(log, "%p\trelease at %d\n", this, refCounter.load()); |
| 147 | if (--refCounter == 0) |
| 148 | { |
| 149 | delete this; |
| 150 | return 0; |
| 151 | } |
| 152 | return 1; |
| 153 | } |
| 154 | |
| 155 | void ReplPlugin::setOwner(IReferenceCounted* r) |
| 156 | { |
no test coverage detected