stopSurface

abstract fun stopSurface(surfaceId: Int)

Stop a surface from running in JS and clears up native memory usage. Assumes that the native View hierarchy has already been cleaned up. Fabric-only.