mirror of https://github.com/aya-rs/aya
Implement Copy for MapData
Implement Copy for MapData so that when `take_map` is used we create a 1 to 1 mapping of MapData to internal FileDescriptor. This will ensure that when MapData is used in multiple tasks that we don't drop the FD before all tasks are done using it. Signed-off-by: Andrew Stoycos <astoycos@redhat.com>pull/397/head
parent
898a14d425
commit
893f9f44a2
Loading…
Reference in New Issue