OpenAMP / open-amp

The main OpenAMP library implementing RPMSG, Virtio, and Remoteproc for RTOS etc
https://www.openampproject.org/
Other
678 stars 278 forks source link

apps: system: linux: Use metal_io_finish() for closing io #573

Closed glneo closed 3 months ago

glneo commented 3 months ago

Do not directly call into io->close(), use the accessor function. While here, do not free the io structure as we did not allocate it and have no way to know how it was allocated.