elast0ny / shared_memory

A Rust wrapper around native shared memory for Linux and Windows
389 stars 51 forks source link

What is the best practice to remove a shared memory file upon process termination? #105

Closed alshdavid closed 9 months ago

alshdavid commented 1 year ago

In the event of a process crash, early exit or similar - what is the best way to ensure the shared memory file is removed along with the application?