Releases native resources.
()
| 116 | * Releases native resources. |
| 117 | */ |
| 118 | public void destroy() { |
| 119 | if (context[0] == 0) { |
| 120 | throw new IllegalStateException("brotli decoder is already destroyed"); |
| 121 | } |
| 122 | nativeDestroy(context); |
| 123 | context[0] = 0; |
| 124 | } |
| 125 | } |
| 126 | } |
no test coverage detected