MCPcopy Create free account
hub / github.com/ElementsProject/elements / addCleanup

Method addCleanup

src/interfaces/ipc.h:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 //! interface is deleted.
59 template<typename Interface>
60 void addCleanup(Interface& iface, std::function<void()> cleanup)
61 {
62 addCleanup(typeid(Interface), &iface, std::move(cleanup));
63 }
64
65 //! IPC context struct accessor (see struct definition for more description).
66 virtual ipc::Context& context() = 0;

Callers 1

echoipcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected