Releases native resources.
()
| 158 | * Releases native resources. |
| 159 | */ |
| 160 | void destroy() { |
| 161 | if (context[0] == 0) { |
| 162 | throw new IllegalStateException("brotli encoder is already destroyed"); |
| 163 | } |
| 164 | nativeDestroy(context); |
| 165 | context[0] = 0; |
| 166 | } |
| 167 | } |
| 168 | } |
no test coverage detected