Release the object.
Future<void> dispose() async { await _channel.invokeMethod('releaseTex', texId); }