fix missing return values on platform channels for destroyTexture

This commit is contained in:
Nick Fisher
2023-10-13 11:22:08 +08:00
parent 05bc5b122e
commit 6327c8063b
3 changed files with 3 additions and 0 deletions

View File

@@ -201,6 +201,7 @@ class PolyvoxFilamentPlugin: FlutterPlugin, MethodCallHandler, ActivityAware, Lo
_surfaceTextureEntry!!.release();
_surface = null
_surfaceTextureEntry = null
result.success(true)
}
"resize" -> {
val args = call.arguments as List<Any>