Closed temeddix closed 3 months ago
Before, Rust was in charge of freeing the memory allocated from Dart. However, for extra-clear memory safety, freeing the memory from Dart can be better.
Please make sure that you've analyzed and formatted the files.
dart analyze flutter_ffi_plugin --fatal-infos dart format . cargo fmt cargo clippy --fix --allow-dirty
Changes
Before, Rust was in charge of freeing the memory allocated from Dart. However, for extra-clear memory safety, freeing the memory from Dart can be better.
Before Committing
Please make sure that you've analyzed and formatted the files.