elast0ny / shared_memory

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

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

Closed alshdavid closed 6 months ago

alshdavid commented 10 months 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?